Question:
I have the following /etc/ansible/hosts:
1 2 3 4 5 6 7 8 9 |
[ESNodes] isk-vsrv643 isk-vsrv644 isk-vsrv645 [PerfSetup] isk-dsrv613 isk-dsrv614 |
I know there is an option to run a playbook on particular hosts with -l
Is there a way to run a playbook only on the PerfSetup group?
Answer:
Same way as you would do for hosts : -l PerfSetup