--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d3c57d1d-c116-4e18-a448-38ada9ec65e6%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
Hi,
You did a mix between the user module and the group module parameters.
Please read docs and samples :
https://docs.ansible.com/ansible/latest/modules/group_module.html
https://docs.ansible.com/ansible/latest/modules/user_module.html
I think you should made a loop around group module to ensure all wanted groups exist,
and a second loop around user module to create users you want
Regards,
JYL
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cbbbdfe8-4a10-4f93-b9e2-5326d58c513e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cbbbdfe8-4a10-4f93-b9e2-5326d58c513e%40googlegroups.com.