Running an Ansible Playbook on a particular group of servers


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?


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

Leave a Reply