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/72781.yml

14 lines
263 B
YAML

- hosts: all
gather_facts: no
any_errors_fatal: true
tasks:
- block:
- block:
- fail:
when: inventory_hostname == 'host1'
rescue:
- fail:
- block:
- debug:
msg: "SHOULD NOT HAPPEN"