aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/templates/web/resources.ini.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/icinga2/templates/web/resources.ini.j2')
-rw-r--r--roles/icinga2/templates/web/resources.ini.j232
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/icinga2/templates/web/resources.ini.j2 b/roles/icinga2/templates/web/resources.ini.j2
new file mode 100644
index 0000000..1b1aa2a
--- /dev/null
+++ b/roles/icinga2/templates/web/resources.ini.j2
@@ -0,0 +1,32 @@
+[icingaweb_db]
+type = "db"
+db = "mysql"
+host = "localhost"
+port = ""
+dbname = "icingaweb"
+username = "icingaweb"
+password = "{{ icinga_web_db_pw }}"
+charset = ""
+use_ssl = "0"
+
+[icinga_ido]
+type = "db"
+db = "mysql"
+host = "localhost"
+port = ""
+dbname = "ido"
+username = "icinga"
+password = "{{ icinga_ido_db_pw }}"
+charset = ""
+use_ssl = "0"
+
+{% if icingaweb.ldap.use_ldap %}
+[ldap_server]
+type = ldap
+hostname= {{ icingaweb.ldap.host }}
+port = {{ icingaweb.ldap.port }}
+encryption = {{ icingaweb.ldap.encryption }}
+root_dn = "{{ icingaweb.ldap.root_dn }}"
+bind_dn = "{{ icingaweb.ldap.bind_dn }}"
+bind_pw = "{{ icingaweb.ldap.bind_pw }}"
+{% endif %}