mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
intg tests for 'any_errors_fatal' (#25813)
* start adding intg tests for any_errors_fatal * updates * show captured output flip conditional for on_includes * cleanup/ci poke * fix typos * Add 'EXPECTED FAILURE' to tasks names for expected failures
This commit is contained in:
15
test/integration/targets/any_errors_fatal/play_level.yml
Normal file
15
test/integration/targets/any_errors_fatal/play_level.yml
Normal file
@@ -0,0 +1,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"
|
||||
Reference in New Issue
Block a user