multiple hosts in same role multiple hosts in same role

The solution for “multiple hosts in same role multiple hosts in same role” can be found here. The following code will assist you in solving the problem.


– hosts: groupa
roles:
– oracle

– hosts: groupb
roles:
– apache

– hosts: local
connection: local
tasks:
– { debug: { msg: “Tasks to run locally” } }

– connection: local
gather_facts: false
hosts: linux-srvr
roles:
– linuxchk

– gather_facts: false
hosts: jabber-srvr
roles:
– jabber-msg

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in