generated from ansible/ansible_template
install restic by copying
This commit is contained in:
parent
5fb79d725c
commit
bdd3148613
|
@ -3,9 +3,15 @@
|
||||||
url: "{{ restic_url }}"
|
url: "{{ restic_url }}"
|
||||||
dest: /tmp/restic.bz2
|
dest: /tmp/restic.bz2
|
||||||
|
|
||||||
- name: "Install restic"
|
- name: "Extract restic"
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "/tmp/restic.bz2"
|
src: "/tmp/restic.bz2"
|
||||||
dest: /usr/bin/restic
|
dest: "/tmp"
|
||||||
|
remote_src: yes
|
||||||
|
|
||||||
|
- name: "Install restic"
|
||||||
|
copy:
|
||||||
|
src: "/tmp/restic_{{ restic_version }}_linux_amd64"
|
||||||
|
dest: "/urs/bin/restic"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
mode: "751"
|
mode: "751"
|
||||||
|
|
Reference in New Issue