mnnjkg
Last Updated: February 25, 2016
·
13.58K
· tartansandal
68ae3430cc86a3e465e7b8860e178981

Excluding a host from a playbook run

Suppose you want to exclude a troublesome host (bad_host) from a particular playbook run. Try using a negated 'limit' option:

ansible-playbook --limit 'all:!bad_host' playbook.yml
Say Thanks
Respond
Filed Under