add: emails & log rotation space saver

This commit is contained in:
2024-12-23 10:34:30 +00:00
parent 39fe939e6b
commit fca50fb390
6 changed files with 49 additions and 27 deletions

View File

@@ -1,25 +0,0 @@
object User "michy" {
import "generic-user"
display_name = "Michy Monitoring"
groups = ["ese"]
email = "HISTORY_PURGED_SECRET"
}
object User "icingaadmin" {
import "generic-user"
display_name = "Icinga 2 Admin"
groups = [ "icingaadmins" ]
email = "HISTORY_PURGED_SECRET"
}
object UserGroup "icingaadmins" {
display_name = "Icinga 2 Admin Group"
}
object UserGroup "ese" {
display_name = "ESports-Erlangen Gruppe"
}

View File

@@ -76,6 +76,16 @@
state: started
enabled: yes
- name: Copy icinga configuration
template:
src: "{{ item }}"
dest: /etc/icinga2/conf.d/
owner: root
group: nagios
mode: 0640
with_items:
- users.conf
- name: Copy icinga configuration
copy:
src: "{{ item }}"
@@ -89,7 +99,6 @@
- services_passive.conf
- services_passive_mail_extern.conf
- services_async.conf
- users.conf
- michy-ese-server.conf
- async-icinga-services-dynamic.conf
notify: