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