change command to shells
This commit is contained in:
@@ -109,7 +109,8 @@
|
||||
# register: output
|
||||
|
||||
- name: Restore Wikmd Dir
|
||||
command: "restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target /data/wikmd restore latest"
|
||||
shell: |
|
||||
restic --password-file ./.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target /data/wikmd restore latest
|
||||
args:
|
||||
chdir: /home/restic
|
||||
creates: /data/wikmd
|
||||
|
||||
Reference in New Issue
Block a user