"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ansible/modules/uri.py" between
ansible-2.14.0.tar.gz and ansible-2.14.1rc1.tar.gz

About: Ansible is an IT Configuration Management, Deployment & Orchestration tool.
Release candidate.

uri.py  (ansible-2.14.0):uri.py  (ansible-2.14.1rc1)
skipping to change at line 106 skipping to change at line 106
- The library used by the uri module only sends authentication information when a webservice - The library used by the uri module only sends authentication information when a webservice
responds to an initial request with a 401 status. Since some basic auth services do not properly responds to an initial request with a 401 status. Since some basic auth services do not properly
send a 401, logins will fail. send a 401, logins will fail.
type: bool type: bool
default: no default: no
follow_redirects: follow_redirects:
description: description:
- Whether or not the URI module should follow redirects. C(all) will follo w all redirects. - Whether or not the URI module should follow redirects. C(all) will follo w all redirects.
C(safe) will follow only "safe" redirects, where "safe" means that the c lient is only C(safe) will follow only "safe" redirects, where "safe" means that the c lient is only
doing a GET or HEAD on the URI to which it is being redirected. C(none) will not follow doing a GET or HEAD on the URI to which it is being redirected. C(none) will not follow
any redirects. Note that C(yes) and C(no) choices are accepted for backw any redirects. Note that C(true) and C(false) choices are accepted for b
ards compatibility, ackwards compatibility,
where C(yes) is the equivalent of C(all) and C(no) is the equivalent of where C(true) is the equivalent of C(all) and C(false) is the equivalent
C(safe). C(yes) and C(no) of C(safe). C(true) and C(false)
are deprecated and will be removed in some future version of Ansible. are deprecated and will be removed in some future version of Ansible.
type: str type: str
choices: ['all', 'no', 'none', 'safe', 'urllib2', 'yes'] choices: ['all', 'no', 'none', 'safe', 'urllib2', 'yes']
default: safe default: safe
creates: creates:
description: description:
- A filename, when it already exists, this step will not be run. - A filename, when it already exists, this step will not be run.
type: path type: path
removes: removes:
description: description:
skipping to change at line 140 skipping to change at line 140
default: 30 default: 30
headers: headers:
description: description:
- Add custom HTTP headers to a request in the format of a YAML hash. As - Add custom HTTP headers to a request in the format of a YAML hash. As
of C(2.3) supplying C(Content-Type) here will override the header of C(2.3) supplying C(Content-Type) here will override the header
generated by supplying C(json) or C(form-urlencoded) for I(body_format ). generated by supplying C(json) or C(form-urlencoded) for I(body_format ).
type: dict type: dict
version_added: '2.1' version_added: '2.1'
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 set to C(no) used on personally controlled sites using - This should only set to C(false) used on personally controlled sites usi
self-signed certificates. ng self-signed certificates.
- Prior to 1.9.2 the code defaulted to C(no). - Prior to 1.9.2 the code defaulted to C(false).
type: bool type: bool
default: yes default: yes
version_added: '1.9.2' version_added: '1.9.2'
client_cert: client_cert:
description: description:
- PEM formatted certificate chain file to be used for SSL client authentic ation. - PEM formatted certificate chain file to be used for SSL client authentic ation.
- This file can also include the key as well, and if the key is included, I(client_key) is not required - This file can also include the key as well, and if the key is included, I(client_key) is not required
type: path type: path
version_added: '2.4' version_added: '2.4'
client_key: client_key:
skipping to change at line 172 skipping to change at line 172
version_added: '2.11' version_added: '2.11'
src: src:
description: description:
- Path to file to be submitted to the remote server. - Path to file to be submitted to the remote server.
- Cannot be used with I(body). - Cannot be used with I(body).
- Should be used with I(force_basic_auth) to ensure success when the remot e end sends a 401. - Should be used with I(force_basic_auth) to ensure success when the remot e end sends a 401.
type: path type: path
version_added: '2.7' version_added: '2.7'
remote_src: remote_src:
description: description:
- If C(no), the module will search for the C(src) on the controller node. - If C(false), the module will search for the C(src) on the controller nod
- If C(yes), the module will search for the C(src) on the managed (remote) e.
node. - If C(true), the module will search for the C(src) on the managed (remote
) node.
type: bool type: bool
default: no default: no
version_added: '2.7' version_added: '2.7'
force: force:
description: description:
- If C(yes) do not get a cached copy. - If C(true) do not get a cached copy.
type: bool type: bool
default: no default: no
use_proxy: use_proxy:
description: description:
- If C(no), it will not use a proxy, even if one is defined in an environm ent variable on the target hosts. - If C(false), it will not use a proxy, even if one is defined in an envir onment variable on the target hosts.
type: bool type: bool
default: yes default: yes
unix_socket: unix_socket:
description: description:
- Path to Unix domain socket to use for connection - Path to Unix domain socket to use for connection
type: path type: path
version_added: '2.8' version_added: '2.8'
http_agent: http_agent:
description: description:
- Header to identify as, generally appears in web server logs. - Header to identify as, generally appears in web server logs.
 End of changes. 5 change blocks. 
13 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)