Skip to content
Snippets Groups Projects
Commit a323886c authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: download and compare checksum for IBMSP/TSM Client setup archive

parent 874ca69d
Branches
No related tags found
No related merge requests found
---
- name: download IBM TSM Client setup checksum file
get_url:
url: "https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/{{ tsm_version_short | default(tsm_default_version_short) }}/{{ tsm_version_long | default(tsm_default_version_long) }}.0-TIV-TSMBAC-LinuxX86.tar.sha256sum.txt"
dest: "/tmp/"
delegate_to: 127.0.0.1
- name: extract IBM TSM Client setup archive checksum from file
set_fact:
tsm_checksum: "{{ lookup('file', '/tmp/'+ tsm_version_long | default(tsm_default_version_long) +'.0-TIV-TSMBAC-LinuxX86.tar.sha256sum.txt').split(' ')[0] | lower }}"
- name: download IBM TSM Client setup files
get_url:
url: "https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/{{ tsm_version_short | default(tsm_default_version_short) }}/{{ tsm_version_long | default(tsm_default_version_long) }}.0-TIV-TSMBAC-LinuxX86.tar"
dest: "/tmp/"
checksum: "{{ tsm_checksum | default(tsm_default_checksum) }}"
checksum: "sha256:{{ tsm_checksum | default(omit) }}"
- name: create temporary extraction dir
file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment