Add monit and a few utility scripts

This commit is contained in:
Paul-Henri Froidmont 2018-01-02 05:03:19 +01:00
parent b09ac86a62
commit 830f6a5609
12 changed files with 537 additions and 14 deletions

View file

@ -0,0 +1,14 @@
---
- name: Install monit
package: name=monit state=present update_cache=yes
- name: Enable and start monit service
systemd:
name: monit.service
state: started
enabled: True
- name: Copy monit config
template:
src: monitrc
dest: /etc/monitrc
notify:
- reload monit