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