ansible-roles/monit/tasks/main.yml

19 lines
272 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
- name: custom config is installed
template:
src: custom.j2
dest: /etc/monit/conf.d/custom
mode: 0640
force: yes
notify: restart monit
tags:
- monit