mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 11:48:33 +01:00
add: emails & log rotation space saver
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user