1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library
Christian Berendt 2c39eff60e [get_url] check against lowered stripped sha256sum
The content of the sha256sum attribute should be lowered before comparing it with the calculated sha256sum.

In the following example the used sha256sum uses ABC.. and not abc.. and the check failed. This should not happen.

```
TASK: [get_url url=http://ftp.fau.de/apache/hadoop/common/hadoop-2.4.0/hadoop-2.4.0.tar.gz dest=/home/vagrant/hadoop-2.4.0.tar.gz mode=0644 sha256sum=024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A] ***
failed: [instance000] => {"failed": true}
msg: The SHA-256 checksum for /home/vagrant/hadoop-2.4.0.tar.gz did not match 024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A; it was 024326ac68a1a68b5566b10f95609eaafd9f70cfeb37fca0e97cbb1674e57c3a.

FATAL: all hosts have already failed -- aborting
```
2014-05-06 18:27:43 +02:00
..
cloud Fixing two bugs in the ec2_elb_lb module 2014-05-05 12:48:45 -05:00
commands Clarify free_form isn't a real option :) 2014-04-03 17:34:33 -04:00
database Fix sync_binlog name in mysql_variables example 2014-05-06 12:25:11 +01:00
files Refuse to convert a non-empty directory into a link with the file module 2014-05-02 14:46:38 -05:00
internal Make async jid's unique per host 2014-03-26 13:48:47 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Fix version_added for node in rabbitmq modules 2014-04-08 10:40:41 -04:00
monitoring Fix version_added for url in airbrake_deployment module 2014-04-07 22:30:53 -04:00
net_infrastructure Adding an options sections to the docstring in the lldp module 2014-03-30 23:08:53 -05:00
network [get_url] check against lowered stripped sha256sum 2014-05-06 18:27:43 +02:00
notification Fixing a documentation error in the new stackdriver module 2014-05-01 11:44:31 -05:00
packaging Make sure distro variable is set if python-apt is installed 2014-05-06 09:42:50 -05:00
source_control Fix incorrect version_added value in docstring for subversion export param 2014-04-08 10:26:12 -05:00
system Do not fail if we try to generate a ssh key for a user without being root 2014-04-28 12:29:57 +02:00
utilities Add an example to show all hostvars using debug 2014-04-21 11:40:53 +02:00
web_infrastructure made enabled/disabled checks of apache2_module workable 2014-04-28 19:46:34 +02:00