diff --git a/lib/ansible/modules/network/basics/get_url.py b/lib/ansible/modules/network/basics/get_url.py index f1ac527a22d..3e3001bdd5c 100644 --- a/lib/ansible/modules/network/basics/get_url.py +++ b/lib/ansible/modules/network/basics/get_url.py @@ -78,13 +78,17 @@ options: default: null checksum: description: - - 'If a checksum is passed to this parameter, the digest of the + - If a checksum is passed to this parameter, the digest of the destination file will be calculated after it is downloaded to ensure its integrity and verify that the transfer completed successfully. Format: :, e.g.: checksum="sha256:shagoeshere" If you worry about portability, only the sha1 algorithm is available on all platforms and python versions. The third party hashlib - library can be installed for access to additional algorithms.' + library can be installed for access to additional algorithms. + Additionaly, if a checksum is passed to this parameter, and the file exist under + the C(dest) location, the destination_checksum would be calculated, and if + checksum equals destination_checksum, the file download would be skipped + (unless C(force) is true). version_added: "2.0" required: false default: null