ansible-roles/monit/tasks/main.yml

20 lines
298 B
YAML
Raw Normal View History

2016-09-28 18:42:53 +02:00
---
- name: monit is installed
apt:
name: monit
state: installed
tags:
- monit
- packages
2016-09-28 18:42:53 +02:00
- name: custom config is installed
template:
src: custom.conf.j2
dest: /etc/monit/conf.d/custom.conf
mode: "640"
2016-09-28 18:42:53 +02:00
force: yes
notify: restart monit
tags:
- monit