mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 12:28:32 +01:00
fix: change icinga log level
This commit is contained in:
@@ -89,6 +89,13 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- 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
|
- name: Signal command loaded from monitoring tools
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/icinga2/icinga2.conf
|
path: /etc/icinga2/icinga2.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user