From 79e90392d4bca0b90c929094656b810cce592a68 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Tue, 29 Oct 2024 14:48:10 -0700 Subject: [PATCH] Minor fix to avoid error on first install. --- tasks/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/build.yml b/tasks/build.yml index 4f221eb..1395f66 100644 --- a/tasks/build.yml +++ b/tasks/build.yml @@ -35,8 +35,9 @@ - name: Check if strfry data path exists ansible.builtin.stat: - path: "{{ strfry_data_path }}" + path: "{{ strfry_data_path }}/{{ strfry_db }}/data.mdb" register: strfry_data_path_stat + failed_when: false - name: Backup existing strfry-db ansible.builtin.shell: