diff --git a/changelogs/fragments/77247-action-groups-docker-k8s.yml b/changelogs/fragments/77247-action-groups-docker-k8s.yml index a67a28d496b..f9cfbb1fc29 100644 --- a/changelogs/fragments/77247-action-groups-docker-k8s.yml +++ b/changelogs/fragments/77247-action-groups-docker-k8s.yml @@ -1,2 +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), [community.kubevirt](https://github.com/ansible-collections/community.kubevirt), and [community.okd](https://galaxy.ansible.com/community/okd) (https://github.com/ansible/ansible/pull/72427)." +- "The ``docker`` and ``k8s`` action groups / module default groups now also support the moved modules in [community.docker](https://galaxy.ansible.com/community/docker), [community.kubevirt](https://github.com/ansible-collections/community.kubevirt), [community.okd](https://galaxy.ansible.com/community/okd), and [kubernetes.core](https://galaxy.ansible.com/kubernetes/core) (https://github.com/ansible/ansible/pull/72427)." diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py index 98ff9aa11fb..43ed850e02f 100644 --- a/lib/ansible/executor/module_common.py +++ b/lib/ansible/executor/module_common.py @@ -1359,7 +1359,7 @@ def get_action_args_with_defaults(action, args, defaults, templar, redirected_na 'cpm': ['wti.remote'], 'docker': ['community.general', 'community.docker'], 'gcp': ['google.cloud'], - 'k8s': ['community.kubernetes', 'community.general', 'community.kubevirt', 'community.okd'], + 'k8s': ['community.kubernetes', 'community.general', 'community.kubevirt', 'community.okd', 'kubernetes.core'], 'os': ['openstack.cloud'], 'ovirt': ['ovirt.ovirt', 'community.general'], 'vmware': ['community.vmware'],