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/handler_notify_earlier_hand...

34 lines
671 B
YAML

- hosts: localhost
gather_facts: false
tasks:
- name: test implicit flush_handlers tasks pick up notifications done by handlers themselves
command: echo
notify: h2
handlers:
- name: h1
debug:
msg: h1_ran
- name: h2
debug:
msg: h2_ran
changed_when: true
notify: h1
- hosts: localhost
gather_facts: false
tasks:
- name: test implicit flush_handlers tasks pick up notifications done by handlers themselves
command: echo
notify: h3
handlers:
- name: h3
debug:
msg: h3_ran
changed_when: true
notify: h4
- name: h4
debug:
msg: h4_ran