get_url.py (ansible-2.14.0) | : | get_url.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
tmp_dest: | tmp_dest: | |||
description: | description: | |||
- Absolute path of where temporary file is downloaded to. | - Absolute path of where temporary file is downloaded to. | |||
- When run on Ansible 2.5 or greater, path defaults to ansible's remote_tm p setting | - When run on Ansible 2.5 or greater, path defaults to ansible's remote_tm p setting | |||
- When run on Ansible prior to 2.5, it defaults to C(TMPDIR), C(TEMP) or C (TMP) env variables or a platform specific value. | - When run on Ansible prior to 2.5, it defaults to C(TMPDIR), C(TEMP) or C (TMP) env variables or a platform specific value. | |||
- U(https://docs.python.org/3/library/tempfile.html#tempfile.tempdir) | - U(https://docs.python.org/3/library/tempfile.html#tempfile.tempdir) | |||
type: path | type: path | |||
version_added: '2.1' | version_added: '2.1' | |||
force: | force: | |||
description: | description: | |||
- If C(yes) and C(dest) is not a directory, will download the file every | - If C(true) and C(dest) is not a directory, will download the file every | |||
time and replace the file if the contents change. If C(no), the file | time and replace the file if the contents change. If C(false), the file | |||
will only be downloaded if the destination does not exist. Generally | will only be downloaded if the destination does not exist. Generally | |||
should be C(yes) only for small local files. | should be C(true) only for small local files. | |||
- Prior to 0.6, this module behaved as if C(yes) was the default. | - Prior to 0.6, this module behaved as if C(true) was the default. | |||
type: bool | type: bool | |||
default: no | default: no | |||
version_added: '0.7' | version_added: '0.7' | |||
backup: | backup: | |||
description: | description: | |||
- Create a backup file including the timestamp information so you can get | - Create a backup file including the timestamp information so you can get | |||
the original file back if you somehow clobbered it incorrectly. | the original file back if you somehow clobbered it incorrectly. | |||
type: bool | type: bool | |||
default: no | default: no | |||
version_added: '2.1' | version_added: '2.1' | |||
skipping to change at line 105 | skipping to change at line 105 | |||
- Additionally, if a checksum is passed to this parameter, and the file ex ist under | - Additionally, if a checksum is passed to this parameter, and the file ex ist under | |||
the C(dest) location, the I(destination_checksum) would be calculated, a nd if | the C(dest) location, the I(destination_checksum) would be calculated, a nd if | |||
checksum equals I(destination_checksum), the file download would be skip ped | checksum equals I(destination_checksum), the file download would be skip ped | |||
(unless C(force) is true). If the checksum does not equal I(destination_ checksum), | (unless C(force) is true). If the checksum does not equal I(destination_ checksum), | |||
the destination file is deleted. | the destination file is deleted. | |||
type: str | type: str | |||
default: '' | default: '' | |||
version_added: "2.0" | version_added: "2.0" | |||
use_proxy: | use_proxy: | |||
description: | description: | |||
- if C(no), it will not use a proxy, even if one is defined in | - if C(false), it will not use a proxy, even if one is defined in | |||
an environment variable on the target hosts. | an environment variable on the target hosts. | |||
type: bool | type: bool | |||
default: yes | default: yes | |||
validate_certs: | validate_certs: | |||
description: | description: | |||
- If C(no), SSL certificates will not be validated. | - If C(false), SSL certificates will not be validated. | |||
- This should only be used on personally controlled sites using self-signe d certificates. | - This should only be used on personally controlled sites using self-signe d certificates. | |||
type: bool | type: bool | |||
default: yes | default: yes | |||
timeout: | timeout: | |||
description: | description: | |||
- Timeout in seconds for URL request. | - Timeout in seconds for URL request. | |||
type: int | type: int | |||
default: 10 | default: 10 | |||
version_added: '1.8' | version_added: '1.8' | |||
headers: | headers: | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added |