ansible/roles/monit/handlers/main.yml

10 lines
166 B
YAML

---
- name: restart monit
service:
name: "monit"
state: "{{ item }}"
loop:
- stopped
- started
listen: "reconfigure monit"