Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - hosts: web_servers
- tasks:
- - shell: /usr/bin/foo
- register: foo_result
- ignore_errors: True
- - hosts: web_servers
- tasks:
- - shell: /usr/bin/bar
- when: foo_result.rc == 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement