I think an example can be clearer, your play would look like this:
- hosts: all
user: root
roles:
- users
now in group_vars/all you have
user_groups:
- sysadmins
and in group_vars/dev you have
user_groups:
- sysadmins
- development
This is using the default strategy that overwrites, if you set it to
merge, you don't need to add the sysadmins in the devs file.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CADn%2BHszgKmWq7EoO_-c-%3DPWW4Y%2B-LX7gew%3Dx2f0dH8TEz0LOMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.