From d96ca6f79968c6f6ee6c39991783d681d45e4162 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 19 Mar 2025 17:47:24 +0100 Subject: [PATCH] Solved reset bug --- roles/docker-nextcloud/vars/main.yml | 2 +- roles/nginx/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-nextcloud/vars/main.yml b/roles/docker-nextcloud/vars/main.yml index 8ad2ac93..2245f4a5 100644 --- a/roles/docker-nextcloud/vars/main.yml +++ b/roles/docker-nextcloud/vars/main.yml @@ -17,7 +17,7 @@ nextcloud_localhost_plugin_configuration_directory: "{{role_path}}/plugins/" ## Host Paths nextcloud_host_config_additives_directory: "{{docker_compose.directories.volumes}}cymais/" # This folder is the path to which the additive configurations will be copied -nextcloud_host_include_instructions_file: "{{docker_compose.directories.volumes}}includes.php" # Path to the isntruction file on the host. Responsible for loading the additional configurations +nextcloud_host_include_instructions_file: "{{docker_compose.directories.volumes}}includes.php" # Path to the instruction file on the host. Responsible for loading the additional configurations # Docker diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index 26484268..4a78869d 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -8,7 +8,7 @@ file: path: "{{ nginx.directories.configuration }}" state: absent - when: mode_reset and run_once_nginx is not defined + when: mode_reset | bool and run_once_nginx is not defined - name: Ensure nginx configuration directories are present file: