From 383fb5bd90d69483314c35703ecf4583c01d0307 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 13 May 2025 15:22:12 +0200 Subject: [PATCH] Solved sphinx configuration bug --- roles/docker-sphinx/{templates => vars}/configuration.yml | 0 roles/nginx-modifier-all/tasks/main.yml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename roles/docker-sphinx/{templates => vars}/configuration.yml (100%) diff --git a/roles/docker-sphinx/templates/configuration.yml b/roles/docker-sphinx/vars/configuration.yml similarity index 100% rename from roles/docker-sphinx/templates/configuration.yml rename to roles/docker-sphinx/vars/configuration.yml diff --git a/roles/nginx-modifier-all/tasks/main.yml b/roles/nginx-modifier-all/tasks/main.yml index 00ec6ded..b63a230c 100644 --- a/roles/nginx-modifier-all/tasks/main.yml +++ b/roles/nginx-modifier-all/tasks/main.yml @@ -1,9 +1,9 @@ - name: "Activate Global CSS for {{domain}}" include_role: name: nginx-modifier-css - when: applications.get(application_id).get('features').get('css') | bool + when: applications | is_feature_enabled('css',application_id) - name: "Activate Global Matomo Tracking for {{domain}}" include_role: name: nginx-modifier-matomo - when: applications.get(application_id).get('features').get('matomo') | bool \ No newline at end of file + when: applications | is_feature_enabled('matomo',application_id) \ No newline at end of file