Skip to content

Commit 9117707

Browse files
gianklugfadnincx
andauthored
feat(icingadb): add the ability to configure IcingaDB settings (#39)
* feat(icingadb): add the ability to configure IcingaDB settings * fix(icingadb): correct icingadb settings variable name Co-authored-by: Marcel W <[email protected]> --------- Co-authored-by: Marcel W <[email protected]>
1 parent 30e0891 commit 9117707

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

defaults/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,12 @@ icinga2_web_reporting: []
243243

244244
icinga2_web_icingadb: []
245245

246+
# IcingaDB settings
247+
248+
# icinga2_web_icingadb_settings:
249+
# hostdowntime_all_services: true
250+
icinga2_web_icingadb_settings: {}
251+
246252
# Grafana configuration
247253
# icinga2_web_grafana:
248254
# enabled: false
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
[icingadb]
22
{% for resourceconf in icinga2_web_icingadb %}
33
resource = "{{ resourceconf.name }}"
4-
{% endfor %}
4+
{% endfor %}
5+
6+
[settings]
7+
{% for key, value in icinga2_web_icingadb_settings.items() %}
8+
{{ key }} = {{ value | to_json }}
9+
{% endfor %}
510

611
[redis]
712
tls = "0"

0 commit comments

Comments
 (0)