blob: 906a23762cd4f1a90ab86a3ea786257ef2372274 (
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
26
27
28
29
30
31
32
33
|
---
- name: This lacks a capitalization
hosts: localhost
tasks:
- name: Task that always changes
ansible.builtin.debug:
msg: I always change!
changed_when: true
notify: My handler
- name: Task with notify as list
ansible.builtin.debug:
msg: I always change!
changed_when: true
notify:
- my handler 1
- My handler
- my handler 2
- name: Task without notify
ansible.builtin.debug:
msg: I always change!
changed_when: true
handlers:
- name: My handler
ansible.builtin.debug:
msg: I never run :(
- name: Test task for listen
ansible.builtin.debug:
msg: I never run :(
listen: My handler
|