ansible-roles/monit/tasks/main.yml

20 lines
348 B
YAML
Raw Normal View History

2016-09-28 18:42:53 +02:00
---
- name: monit is installed
ansible.builtin.apt:
2016-09-28 18:42:53 +02:00
name: monit
state: present
2016-09-28 18:42:53 +02:00
tags:
2017-01-05 18:09:38 +01:00
- monit
- packages
2016-09-28 18:42:53 +02:00
- name: custom config is installed
ansible.builtin.template:
2017-01-05 18:09:38 +01:00
src: evolinux-defaults.conf.j2
dest: /etc/monit/conf.d/z-evolinux-defaults.conf
mode: "0640"
2023-06-28 13:22:59 +02:00
force: true
2016-09-28 18:42:53 +02:00
notify: restart monit
tags:
2017-01-05 18:09:38 +01:00
- monit