Add tasks to copy customized configuration files
This commit is contained in:
parent
6782746f3c
commit
7d24b11fa9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue