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/handlers/nested_flush_handlers_failu...

20 lines
373 B
YAML

- hosts: A,B
gather_facts: false
force_handlers: true
tasks:
- block:
- command: echo
notify: h
- meta: flush_handlers
rescue:
- debug:
msg: flush_handlers_rescued
always:
- debug:
msg: flush_handlers_always
handlers:
- name: h
fail:
when: inventory_hostname == "A"