reformat wikmd restore
This commit is contained in:
@@ -109,10 +109,11 @@
|
||||
# register: output
|
||||
|
||||
- name: Restore Wikmd Dir
|
||||
command: restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target /data/wikmd restore latest
|
||||
args:
|
||||
chdir: /home/restic
|
||||
creates: /data/wikmd
|
||||
command: restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target /data/wikmd restore latest
|
||||
args:
|
||||
chdir: /home/restic
|
||||
creates: /data/wikmd
|
||||
when: not stat.wikmd.stat.exists or not stat.wikmd.stat.isdir
|
||||
|
||||
- name: Reload systemd daemon
|
||||
systemd:
|
||||
|
||||
Reference in New Issue
Block a user