Skip to content
Snippets Groups Projects
Verified Commit a1fdee2c authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

Check for existence of config file instead of directory

parent a5a47937
No related branches found
No related tags found
1 merge request!2Check for existence of config file in repository instead of directory
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: Check if Repo already exists - name: Check if Repo already exists
stat: stat:
path: "{{ borgbackup_pool }}/{{ ansible_hostname }}/{{ borgbackup_repo_path }}" path: "{{ borgbackup_pool }}/{{ ansible_hostname }}/{{ borgbackup_repo_path }}/config"
register: repo register: repo
delegate_to: "{{ borgbackup_target_host }}" delegate_to: "{{ borgbackup_target_host }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment