diff --git a/roles/ind/wikmd/wikmd-install.yml b/roles/ind/wikmd/wikmd-install.yml index aedf75e..0f90bf4 100644 --- a/roles/ind/wikmd/wikmd-install.yml +++ b/roles/ind/wikmd/wikmd-install.yml @@ -109,11 +109,12 @@ # 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 - when: not stat.wikmd.stat.exists or not stat.wikmd.stat.isdir + shell: | + 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: