You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/blocks/always_no_rescue_rc.yml

13 lines
236 B
YAML

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