2016-09-28 18:42:53 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: monit is installed
|
|
|
|
apt:
|
|
|
|
name: monit
|
|
|
|
state: installed
|
|
|
|
tags:
|
|
|
|
- monit
|
2016-09-29 11:19:27 +02:00
|
|
|
- packages
|
2016-09-28 18:42:53 +02:00
|
|
|
|
|
|
|
- name: custom config is installed
|
|
|
|
template:
|
2016-11-07 14:00:57 +01:00
|
|
|
src: custom.conf.j2
|
|
|
|
dest: /etc/monit/conf.d/custom.conf
|
2016-09-28 18:42:53 +02:00
|
|
|
mode: 0640
|
|
|
|
force: yes
|
|
|
|
notify: restart monit
|
|
|
|
tags:
|
|
|
|
- monit
|