Docker-compose download checksum verification fails.
janorn opened this issue · 5 comments
janorn commented
Version Information
Ansible: 2.9.27
Role: 3.7.2
Steps to Reproduce
Install latest precompiled docker-compose(2.10.0).
Expected Behavior
Download precompiled file and verify checksum.
Actual Behavior
Download of docker-compose works however the sha sum file is now only in the common file no separate files so this fails.
checksums.txt
References
janorn commented
ansible-role-docker-ce/tasks/postinstall.yml
Lines 272 to 281 in 1b4feed
janorn commented
This works from 2.10.0 unfortunatly not for 2.9.0.
---
- name: Test
hosts: localhost
connection: local
tasks:
- name: Download file with checksum url (sha256)
get_url:
url: https://github.com/docker/compose/releases/download/v2.10.0/docker-compose-linux-x86_64
dest: /tmp/docker-compose
checksum: sha256:https://github.com/docker/compose/releases/download/v2.10.0/checksums.txt
haxorof commented
Thanks for reporting this and it is a bit annoying that they suddenly change the checksum related asset in that way. Make it harder to handle the different versions the way it is done today in this role. 😄
Will see if I will have a look at this this weekend or not.