aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/templates/icinga2.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/icinga2/templates/icinga2.conf.j2')
-rw-r--r--roles/icinga2/templates/icinga2.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/icinga2/templates/icinga2.conf.j2 b/roles/icinga2/templates/icinga2.conf.j2
index 921c2d6..0c17c24 100644
--- a/roles/icinga2/templates/icinga2.conf.j2
+++ b/roles/icinga2/templates/icinga2.conf.j2
@@ -20,6 +20,10 @@ include "ido-mysql.conf"
include "api_users.conf"
include "influx.conf"
+{% for dir in icinga.extra_conf_dirs %}
+include_recursive "{{ dir }}"
+{% endfor %}
+
{% if icinga.config.manage is true %}
include_recursive "conf.git.d"
{% else %}