Ansible
Removing an host out of playbook execution
Archives
Ansible Project
ansible-project
Michael_DeHaan2
(Michael DeHaan)
May 20, 2013, 3:13pm
1
Something like this will take it out of rotation for all remaining plays:
note that I’m assuming False shouldn’t be a String here
tasks:
fail: msg=“missing IP address on host”
when: not myswitch.ipaddr
Related topics
Topic
Replies
Views
Activity
Removing an host out of playbook execution
Ansible Project
0
0
May 20, 2013
Skip the hosts when one host is exectued task successfully
Ansible Project
0
0
March 3, 2016
Playbook says successful on a nonexistent host
Ansible Project
2
0
January 6, 2014
Specify host for a playbook task
Ansible Project
2
1
March 3, 2014
Re-run the playbook
Ansible Project
0
0
November 25, 2014