diff --git a/changelogs/fragments/77247-action-groups-docker-k8s.yml b/changelogs/fragments/77247-action-groups-docker-k8s.yml new file mode 100644 index 00000000000..6ca6415f71e --- /dev/null +++ b/changelogs/fragments/77247-action-groups-docker-k8s.yml @@ -0,0 +1,2 @@ +bugfixes: +- "The ``docker`` and ``k8s`` action groups / module default groups now also support the moved modules in [community.docker](https://galaxy.ansible.com/community/docker) and [community.kubevirt](https://github.com/ansible-collections/community.kubevirt) (https://github.com/ansible/ansible/pull/72427)." diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py index 1bb97e4738e..cc9cbb07d44 100644 --- a/lib/ansible/executor/module_common.py +++ b/lib/ansible/executor/module_common.py @@ -1357,9 +1357,9 @@ def get_action_args_with_defaults(action, args, defaults, templar, redirected_na 'aws': ['amazon.aws', 'community.aws'], 'azure': ['azure.azcollection'], 'cpm': ['wti.remote'], - 'docker': ['community.general'], + 'docker': ['community.general', 'community.docker'], 'gcp': ['google.cloud'], - 'k8s': ['community.kubernetes', 'community.general'], + 'k8s': ['community.kubernetes', 'community.general', 'community.kubevirt'], 'os': ['openstack.cloud'], 'ovirt': ['ovirt.ovirt', 'community.general'], 'vmware': ['community.vmware'],