blob: d5a89206df19981f89d54dfabefa9ab5b722a719 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- hosts: testhost
gather_facts: no
any_errors_fatal: true
tasks:
- name: EXPECTED FAILURE shell exe of /bin/false for testhost
shell: '{{ "/bin/false" if inventory_hostname == "testhost" else "/bin/true" }}'
- debug:
msg: "any_errors_fatal_play_level_post_fail"
- hosts: testhost
any_errors_fatal: true
tasks:
- debug:
msg: "and in another play"
|