Configure log monitoring
This commit is contained in:
parent
2bf64d8cc2
commit
c93f8c8935
17
machine.yml
17
machine.yml
@ -376,6 +376,23 @@
|
||||
when:
|
||||
smartd_conf is changed
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Log monitoring.
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
- name: Install logcheck and logrotate
|
||||
apt:
|
||||
name:
|
||||
- logcheck
|
||||
- logrotate
|
||||
|
||||
- name: Configure logcheck
|
||||
template:
|
||||
src: ./root/etc/logcheck/ignore.d.server/yggdrasil.j2
|
||||
dest: /etc/logcheck/ignore.d.server/yggdrasil
|
||||
group: logcheck
|
||||
mode: 0644
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Set MotD.
|
||||
# -------------------------------------------------------------------------
|
||||
|
0
root/etc/logcheck/ignore.d.server/yggdrasil.j2
Normal file
0
root/etc/logcheck/ignore.d.server/yggdrasil.j2
Normal file
Loading…
Reference in New Issue
Block a user