Question

I have the following /etc/ansible/hosts:

[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?

Était-ce utile?

La solution

Same way as you would do for hosts : -l PerfSetup

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top