From cf81aa05ec66037cd5c91fb0de4d2b058e2df29f Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 1 Nov 2020 10:22:54 +0100 Subject: [PATCH] Also support k8s action group for community.okd. --- changelogs/fragments/77247-action-groups-docker-k8s.yml | 2 +- lib/ansible/executor/module_common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelogs/fragments/77247-action-groups-docker-k8s.yml b/changelogs/fragments/77247-action-groups-docker-k8s.yml index 6ca6415f71e..a67a28d496b 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) and [community.kubevirt](https://github.com/ansible-collections/community.kubevirt) (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), and [community.okd](https://galaxy.ansible.com/community/okd) (https://github.com/ansible/ansible/pull/72427)." diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py index cc9cbb07d44..98ff9aa11fb 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'], + 'k8s': ['community.kubernetes', 'community.general', 'community.kubevirt', 'community.okd'], 'os': ['openstack.cloud'], 'ovirt': ['ovirt.ovirt', 'community.general'], 'vmware': ['community.vmware'],