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

13 lines
236 B
YAML
Raw Normal View History

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