Jérémy Lecour
ff233b65a6
handlers are not supposed to be executed in check-mode since no change should happen in check-mode. If there is a corner case we should deal with it at the source, not at the handler level.
16 lines
267 B
YAML
16 lines
267 B
YAML
---
|
|
- name: restart nginx
|
|
ansible.builtin.service:
|
|
name: nginx
|
|
state: restarted
|
|
|
|
- name: reload nginx
|
|
ansible.builtin.service:
|
|
name: nginx
|
|
state: reloaded
|
|
|
|
- name: restart munin
|
|
ansible.builtin.service:
|
|
name: munin-node
|
|
state: restarted
|