From f18c07e9fa044b7982f19c6649479e7b9fced828 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 8 May 2021 13:57:13 +0200 Subject: [PATCH] icinga: rename config template --- roles/icinga/tasks/main.yml | 2 +- .../{ => icinga2/features-available}/ido-pgsql.conf.j2 | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename roles/icinga/templates/{ => icinga2/features-available}/ido-pgsql.conf.j2 (100%) diff --git a/roles/icinga/tasks/main.yml b/roles/icinga/tasks/main.yml index 76d1f6d..ae637df 100644 --- a/roles/icinga/tasks/main.yml +++ b/roles/icinga/tasks/main.yml @@ -52,7 +52,7 @@ become_user: postgres - name: Configure icinga ido pgsql - template: src=ido-pgsql.conf.j2 dest=/etc/icinga2/features-available/ido-pgsql.conf owner={{ icinga_user }} group={{ icinga_group }} + template: src=icinga2/features-available/ido-pgsql.conf.j2 dest=/etc/icinga2/features-available/ido-pgsql.conf owner={{ icinga_user }} group={{ icinga_group }} notify: Restart icinga2 - name: Enable icinga ido PostgreSQL diff --git a/roles/icinga/templates/ido-pgsql.conf.j2 b/roles/icinga/templates/icinga2/features-available/ido-pgsql.conf.j2 similarity index 100% rename from roles/icinga/templates/ido-pgsql.conf.j2 rename to roles/icinga/templates/icinga2/features-available/ido-pgsql.conf.j2