Add any_errors_fatal in nested failed block test (#35499)

pull/35561/merge
Martin Krizek 7 years ago committed by GitHub
parent a4b7df70c7
commit c3199dca6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,6 +59,17 @@
nested_block_fail_always: true
- meta: clear_host_errors
- block:
- block:
- name: EXPECTED FAILURE test triggering always by failing in nested block with any_errors_fatal set
fail:
any_errors_fatal: true
always:
- name: set block fail always run flag
set_fact:
nested_block_fail_always: true
- meta: clear_host_errors
post_tasks:
- assert:
that:

Loading…
Cancel
Save