mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 20:28:33 +01:00
fix: change icinga log level
This commit is contained in:
@@ -89,6 +89,13 @@
|
||||
notify:
|
||||
- restart icinga
|
||||
|
||||
- name: Change icinga log level
|
||||
lineinfile:
|
||||
path: /etc/icinga2/features-enabled/mainlog.conf
|
||||
regex: '^ severity = ".*"$'
|
||||
line: ' severity = "warning"'
|
||||
notify: restart icinga
|
||||
|
||||
- name: Signal command loaded from monitoring tools
|
||||
lineinfile:
|
||||
path: /etc/icinga2/icinga2.conf
|
||||
|
||||
Reference in New Issue
Block a user