download restic to the tmp folder

This commit is contained in:
Andreas Zweili 2021-08-23 14:34:24 +02:00
parent 1c4d23b585
commit ac21080744
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
- name: "Download Keeweb"
get_url:
url: "{{ restic_url }}"
dest: /tmp/restic.bz2
- name: "Download and install restic"
unarchive:
src: "{{ restic_url }}"
src: "/tmp/restic.bz2"
dest: /usr/bin/restic
remote_src: yes
mode: "751"