Running an Ansible Playbook on a particular group of servers

Question:

I have the following /etc/ansible/hosts:

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

Leave a Reply