nextcloud: verify archive checksum
This commit is contained in:
parent
0545863df2
commit
c4731fb37e
|
@ -66,6 +66,23 @@
|
||||||
tags:
|
tags:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
|
||||||
|
- name: Retrieve Nextcloud sha256 checksum
|
||||||
|
get_url:
|
||||||
|
url: "https://download.nextcloud.com/server/releases/nextcloud-{{ item.value.version | default(nextcloud_version) }}.tar.bz2.sha256"
|
||||||
|
dest: "/home/nextcloud-{{ item.value.version | default(nextcloud_version) }}.tar.bz2.sha256"
|
||||||
|
with_dict: "{{ nextcloud_instances }}"
|
||||||
|
tags:
|
||||||
|
- nextcloud
|
||||||
|
|
||||||
|
- name: Verify Nextcloud sha256 checksum
|
||||||
|
command: "sha256sum -c nextcloud-{{ item.value.version | default(nextcloud_version) }}.tar.bz2.sha256"
|
||||||
|
changed_when: False
|
||||||
|
args:
|
||||||
|
chdir: "/home/"
|
||||||
|
with_dict: "{{ nextcloud_instances }}"
|
||||||
|
tags:
|
||||||
|
- nextcloud
|
||||||
|
|
||||||
- name: Extract Nextcloud archive
|
- name: Extract Nextcloud archive
|
||||||
unarchive:
|
unarchive:
|
||||||
src: '/home/nextcloud-{{ item.value.version | default(nextcloud_version) }}.tar.bz2'
|
src: '/home/nextcloud-{{ item.value.version | default(nextcloud_version) }}.tar.bz2'
|
||||||
|
|
Loading…
Reference in a new issue