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 fcb9088..13d2d7f 100644
--- a/roles/icinga2/templates/icinga2.conf.j2
+++ b/roles/icinga2/templates/icinga2.conf.j2
@@ -19,4 +19,8 @@ include "features-enabled/*.conf"
include "ido-mysql.conf"
include "api_users.conf"
+{% if icinga.config.manage is true %}
+include_recursive "conf.git.d"
+{% else %}
include_recursive "conf.d"
+{% endif %}