From bc267001fd61124c4752abe58d65d5f13dac9f5d Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 25 Jan 2022 12:40:10 +0100 Subject: icinga: add contsants --- roles/icinga2/templates/constants.conf.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/icinga2/templates/constants.conf.j2 (limited to 'roles/icinga2/templates/constants.conf.j2') 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 %} -- cgit v1.2.3