Commit ad524f5e authored by Eliot Berriot's avatar Eliot Berriot

More verbose install

parent b440be6f
......@@ -2,6 +2,7 @@
# defaults file for autorestic-backup
restic_version: "0.9.6"
restic_url: "https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_linux_amd64.bz2"
autorestic_version: "0.10"
autorestic_url: "https://github.com/cupcakearmy/autorestic/releases/download/{{ autorestic_version }}/autorestic_linux_x64"
autorestic_config_path: /etc/.autorestic.yml
......
......@@ -6,10 +6,10 @@
pkg:
- bzip2
- name: Download restic
- name: "Download restic from {{ restic_url }}"
when: not ansible_check_mode
get_url:
url: https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_linux_amd64.bz2
url: "{{ restic_url }}"
dest: /tmp/restic.bz2
......@@ -21,7 +21,7 @@
when: not ansible_check_mode
file: dest=/usr/bin/restic mode=a+x
- name: Install autorestic
- name: "Install autorestic from {{ autorestic_url }}"
when: not ansible_check_mode
get_url:
url: "{{ autorestic_url }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment