ansible-role-postfix/tasks/monitoring.yml
2023-03-20 21:42:09 +01:00

16 lines
483 B
YAML

---
- name: "Monitoring | Enable Monit monitoring for Postfix"
ansible.builtin.copy:
src: monit/postfix
dest: /etc/monit/conf-enabled/postfix
mode: "0644"
notify: reload monit
when: "'monit' in ansible_facts.packages"
- name: "Monitoring | Enable Monit Monitoring for MTA-STS"
ansible.builtin.copy:
src: monit/mta-sts-daemon
dest: /etc/monit/conf-enabled/mta-sts-daemon
mode: "0644"
notify: reload monit
when: "'monit' in ansible_facts.packages"