blob: 413b492855d6d7efbfc4eb175df258b91c043854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
- hosts: A
gather_facts: false
tasks:
- command: echo
notify:
- handler1
- self_notify
handlers:
- name: handler1
debug:
msg: handler1 ran
changed_when: true
notify: handler2
- name: handler2
debug:
msg: handler2 ran
changed_when: true
notify: handler1
- name: self_notify
debug:
msg: self_notify ran
changed_when: true
notify: self_notify
|