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

19 lines
422 B
YAML

- hosts: localhost
gather_facts: false
tasks:
- block:
- block:
- name: EXPECTED FAILURE
fail:
always:
- block:
- block:
- debug:
rescue:
- block:
- block:
- assert:
that:
- ansible_failed_task is defined
- ansible_failed_result is defined