diff --git a/network/basics/get_url.py b/network/basics/get_url.py index fad0d58f878..2d202c12be5 100644 --- a/network/basics/get_url.py +++ b/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:D98291AC[...]B6DC7B97" 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