Document get_url module check_mode support right (#76433)

pull/76563/head
bluikko 3 years ago committed by GitHub
parent e5967c02f5
commit f9c24c2899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
known_issues:
- get_url - document ``check_mode`` correctly with unreliable changed status (https://github.com/ansible/ansible/issues/65687).

@ -23,7 +23,7 @@ description:
- HTTP redirects can redirect from HTTP to HTTPS so you should be sure that - HTTP redirects can redirect from HTTP to HTTPS so you should be sure that
your proxy environment for both protocols is correct. your proxy environment for both protocols is correct.
- From Ansible 2.4 when run with C(--check), it will do a HEAD request to validate the URL but - From Ansible 2.4 when run with C(--check), it will do a HEAD request to validate the URL but
will not download the entire file or verify it against hashes. will not download the entire file or verify it against hashes and will report incorrect changed status.
- For Windows targets, use the M(ansible.windows.win_get_url) module instead. - For Windows targets, use the M(ansible.windows.win_get_url) module instead.
version_added: '0.6' version_added: '0.6'
options: options:
@ -190,7 +190,8 @@ extends_documentation_fragment:
- action_common_attributes - action_common_attributes
attributes: attributes:
check_mode: check_mode:
support: full details: the changed status will reflect comparison to an empty source file
support: partial
diff_mode: diff_mode:
support: none support: none
platform: platform:

Loading…
Cancel
Save