Brian Coca
unread,Feb 21, 2018, 2:23:55 PM2/21/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Your roles sounds like 'other type of group', i.e webserver, dbserver,
just define those as groups in Ansible. and then:
hosts; rolea:&groupa
^ play runs against hosts in BOTH groups.
In Ansible 'role' means a 'reusable component' that can be
tasks/templates/vars/etc, it is not associated to a host directly,
that is what plays do.
--
----------
Brian Coca