ansible/test/integration/targets/blocks/always_failure_no_rescue_rc.yml

14 lines
279 B
YAML
Raw Normal View History

- hosts: localhost
gather_facts: no
tasks:
- block:
- name: EXPECTED FAILURE
fail:
msg: Failure in block
always:
- name: EXPECTED FAILURE
fail:
msg: Failure in always
- debug:
msg: DID NOT RUN