Add tasks to copy customized configuration files

This commit is contained in:
Tristan PILAT 2020-11-24 16:27:29 +01:00
parent 6782746f3c
commit 7d24b11fa9

View file

@ -17,6 +17,28 @@
tags:
- logsentry
- name: Copy logsentry.ignore configuration
copy:
src: "{{ item }}"
dest: /etc/logsentry/logsentry.ignore
with_first_found:
- "files/logsentry/logsentry.ignore"
- "logsentry.ignore"
tags:
- logsentry
- config
- name: Copy logsentry.violations.ignore configuration
copy:
src: "{{ item }}"
dest: /etc/logsentry/logsentry.violations.ignore
with_first_found:
- "files/logsentry/logsentry.violations.ignore"
- "logsentry.violations.ignore"
tags:
- logsentry
- config
- name: hourly cron job for logsentry.sh is installed
cron:
name: logsentry