# Group module defaults for community.kubernetes collection modules

**URL:** <https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318>\
**Category:** Ansible Project\
**Tags:** kubernetes\
**Created:** [June 9, 2021, 11:23am UTC](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318 "2021-06-09T11:23:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Godding\_Boye](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@Erik\_Godding\_Boye](https://forum.ansible.com/u/Erik_Godding_Boye)\
**Post date:** [June 9, 2021, 11:23am UTC](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318/1 "2021-06-09T11:23:15Z")

</div>

Hi,

We have been using group module defaults on k8s Ansible modules. Trying to migrate to FQN on module names (and community.kubernetes collection), I am struggling to make this work.

[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_module\_defaults.html#module-defaults-groups](https://docs.ansible.com/ansible/latest/user_guide/playbooks_module_defaults.html#module-defaults-groups)

We used to have:  
module\_defaults:  
group/k8s:

That does not work anymore, and I tried a few variants without any success.

module\_defaults:  
group/community.kubernetes:

and

module\_defaults:  
group/community.kubernetes.k8s:

Is this just broken, or am I missing something?

Regards,  
Erik

---

<div class="post-metadata">

**Author:** ![Akasurde](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akasurde/32/230_2.png) [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Post date:** [June 9, 2021, 12:35pm UTC](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318/2 "2021-06-09T12:35:07Z")

</div>

Hi Erik,

Could you please raise a bug against [https://github.com/ansible-collections/kubernetes.core](https://github.com/ansible-collections/kubernetes.core) with reproducer?

Thanks,

---

<div class="post-metadata">

**Author:** ![Erik\_Godding\_Boye](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@Erik\_Godding\_Boye](https://forum.ansible.com/u/Erik_Godding_Boye)\
**Post date:** [June 9, 2021, 6:12pm UTC](https://forum.ansible.com/t/group-module-defaults-for-community-kubernetes-collection-modules/35318/3 "2021-06-09T18:12:58Z")

</div>

Hi Abhijeet,

Thanks for your response. I have opened this issue: [https://github.com/ansible-collections/kubernetes.core/issues/126](https://github.com/ansible-collections/kubernetes.core/issues/126)

Regards,  
Erik
