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:
11
test/integration/targets/any_errors_fatal/test_fatal.yml
Normal file
11
test/integration/targets/any_errors_fatal/test_fatal.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Setting the fact for 'test' to 'test value'
|
||||
set_fact:
|
||||
test: "test value"
|
||||
when: "inventory_hostname == groups.all.0"
|
||||
|
||||
- name: EXPECTED FAILURE echo jinja eval of a var that should not exist
|
||||
shell: "echo {{ test }}"
|
||||
|
||||
- debug:
|
||||
msg: "any_errors_fatal_this_should_never_be_reached"
|
||||
Reference in New Issue
Block a user