ansible/roles/monit/handlers/main.yml

11 lines
244 B
YAML

---
- name: restart monit
service:
name: "monit"
state: "restarted"
when: not monit_containerized
- name: restart monit
command: /usr/bin/s6-svc -r /var/run/s6/services/monit
when: monit_containerized