Stop evaluating a host in a playbook when it encounters the first failure.

This commit is contained in:
Michael DeHaan
2012-02-27 22:28:01 -05:00
parent ada866be46
commit 1caafb7bd9
3 changed files with 14 additions and 2 deletions

View File

@@ -15,6 +15,9 @@
- name: execute bin false
comment: call something that will fail just to demo failure counts and such
action: command /bin/false
- name: execute bin true
comment: this will never be executed because previous will fail
action: command /bin/true
handlers:
- name: restart apache
action: service name=httpd state=restarted