diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-04-04 13:42:33 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-04-04 13:42:33 +0200 |
commit | 03984cc21f9b2fbc6925a0c29d078fd140240a91 (patch) | |
tree | f5ec86d65fde12b7333f8ee5b00ac50ef8ba0fb8 /roles/icinga2/templates | |
parent | b5d9740f73093193ff6bc891af44d577b8bf3e34 (diff) | |
download | ansible_collection-03984cc21f9b2fbc6925a0c29d078fd140240a91.tar.gz |
icinga2: add extra conf dirs
Diffstat (limited to 'roles/icinga2/templates')
-rw-r--r-- | roles/icinga2/templates/icinga2.conf.j2 | 4 |
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 %} |