Ansible 2 · Playbooks

Limit to some hosts

Run only against one host or group from the play.

ansible-playbook -i inventory.ini site.yml --limit web1

Official Ansible 2 documentation

More playbooks commands

All playbooks commands · Ansible 2 cheatsheet

Was this page helpful?