diff --git a/library/network/get_url b/library/network/get_url index e1ff8d24d7..132c8553eb 100644 --- a/library/network/get_url +++ b/library/network/get_url @@ -283,7 +283,7 @@ def main(): else: destination_checksum = module.sha256(dest) - if stripped_sha256sum != destination_checksum: + if stripped_sha256sum.lower() != destination_checksum: os.remove(dest) module.fail_json(msg="The SHA-256 checksum for %s did not match %s; it was %s." % (dest, sha256sum, destination_checksum))