downloader first push, not working yet
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
|
||||
- name: Check if docker config directory exists
|
||||
stat:
|
||||
path: /home/docker/docker/qbittorrent
|
||||
path: /home/docker/etc-pihole
|
||||
register: docker_stat
|
||||
|
||||
- name: Restore docker config Dir
|
||||
@@ -94,7 +94,7 @@
|
||||
restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest
|
||||
args:
|
||||
chdir: /home/docker/
|
||||
creates: /home/docker/qbitorrent
|
||||
creates: /home/docker/etc-pihole
|
||||
when: not docker_stat.stat.exists or not docker_stat.stat.isdir
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user