|
@@ -1,4 +1,4 @@
|
1
|
|
-- name: Check if tarsnap {{ tarsnap_version }} is installed
|
|
1
|
+- name: Check if Tarsnap {{ tarsnap_version }} is installed
|
2
|
2
|
shell: tarsnap --version | grep {{ tarsnap_version }} --color=never
|
3
|
3
|
register: tarsnap_installed
|
4
|
4
|
changed_when: "tarsnap_installed.stderr != ''"
|
|
@@ -34,14 +34,14 @@
|
34
|
34
|
url="https://www.tarsnap.com/download/tarsnap-sigs-{{ tarsnap_version }}.asc"
|
35
|
35
|
dest="/root/tarsnap-sigs-{{ tarsnap_version }}.asc"
|
36
|
36
|
|
37
|
|
-- name: Make the command that gets the current sha
|
|
37
|
+- name: Make the command that gets the current SHA
|
38
|
38
|
when: tarsnap_installed|failed
|
39
|
39
|
template:
|
40
|
40
|
src=getSha.sh
|
41
|
41
|
dest=/root/getSha.sh
|
42
|
42
|
mode=0755
|
43
|
43
|
|
44
|
|
-- name: get the SHA256sum for this tarsnap release
|
|
44
|
+- name: Get the SHA256sum for this tarsnap release
|
45
|
45
|
when: tarsnap_installed|failed
|
46
|
46
|
command:
|
47
|
47
|
./getSha.sh
|