aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/templates/constants.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/icinga2/templates/constants.conf.j2')
-rw-r--r--roles/icinga2/templates/constants.conf.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/icinga2/templates/constants.conf.j2 b/roles/icinga2/templates/constants.conf.j2
new file mode 100644
index 0000000..18e8e90
--- /dev/null
+++ b/roles/icinga2/templates/constants.conf.j2
@@ -0,0 +1,10 @@
+/**
+* vi: ft=icinga2
+* This File is managed by Ansible. Do NOT change.
+*/
+
+{% for const in icinga.constants %}
+
+const {{ const }} = "{{ icinga.constants[ const ] }}"
+
+{% endfor %}