ansible/roles/monit/handlers/main.yml

11 lines
258 B
YAML
Raw Normal View History

---
- name: restart monit
service:
name: "monit"
2020-08-05 00:15:47 +00:00
state: "restarted"
when: not monit_containerized
- name: restart monit containerized
command: /usr/bin/s6-svc -r /var/run/s6/services/monit
when: monit_containerized