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: