forked from evolix/ansible-roles
evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked
This commit is contained in:
parent
7272106bce
commit
d1410e38a1
|
@ -31,6 +31,7 @@ The **patch** part is incremented if multiple releases happen the same month
|
||||||
* nagios-nrpe: create /etc/bash_completion.d if missing
|
* nagios-nrpe: create /etc/bash_completion.d if missing
|
||||||
* packweb: fix old bug (2017!) .orig file created by module patch and taken in account by ProFTPd
|
* packweb: fix old bug (2017!) .orig file created by module patch and taken in account by ProFTPd
|
||||||
* redis: replace inline argument with environment variable for the password
|
* redis: replace inline argument with environment variable for the password
|
||||||
|
* evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
# Logcheck
|
# Logcheck
|
||||||
- name: Disable logcheck monitoring of journald
|
- name: Disable logcheck monitoring of journald
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/logrotate.conf
|
dest: /etc/logcheck/logcheck.logfiles.d/journal.logfiles
|
||||||
line: "#journal"
|
line: "#journal"
|
||||||
regexp: "^journal"
|
regexp: "^journal"
|
||||||
when: evolinux_logs_disable_logcheck_journald | bool
|
when: evolinux_logs_disable_logcheck_journald | bool
|
||||||
|
|
Loading…
Reference in a new issue