Comment 2 for bug 1471746

Revision history for this message
git-harry (git-harry) wrote :

@svg - I did sample the roles on galaxy.ansible.com and github.com/ansible/ansible-examples, before creating this bug, and I could not find a group referenced in any of the roles I looked at.

I think there are probably a number of ways direct references to groups in roles could be replaced, I think the specifics would depend on how/why the group is referenced. Three possible alternatives that come to mind are:
    - using 'play_hosts'
    - defining role variables that get set to the list of hosts
    - breaking complex roles up into multiple smaller roles.