ansible-roles/monit/tasks/main.yml

20 lines
297 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
2016-09-28 18:42:53 +02:00
mode: 0640
force: yes
notify: restart monit
tags:
- monit