aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/templates/constants.conf.j2
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-25 12:40:10 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-25 12:40:10 +0100
commitbc267001fd61124c4752abe58d65d5f13dac9f5d (patch)
tree03a51a103021e8a3ec4b9f8950cf143a9928b5e6 /roles/icinga2/templates/constants.conf.j2
parent1c7ffdae0fa70e066dee294e11bc7569c429c321 (diff)
downloadansible_collection-bc267001fd61124c4752abe58d65d5f13dac9f5d.tar.gz
icinga: add contsants
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 %}