Added pass through parameters to enable basic auth for downloads
This commit is contained in:
parent
4fb8adb9e4
commit
7633e6d582
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@
|
||||||
owner: "{{ download.owner|default(omit) }}"
|
owner: "{{ download.owner|default(omit) }}"
|
||||||
mode: "{{ download.mode|default(omit) }}"
|
mode: "{{ download.mode|default(omit) }}"
|
||||||
validate_certs: "{{ download_validate_certs }}"
|
validate_certs: "{{ download_validate_certs }}"
|
||||||
|
url_username: "{{ download.username|default(omit) }}"
|
||||||
|
url_password: "{{ download.password|default(omit) }}"
|
||||||
|
force_basic_auth: "{{ download.force_basic_auth|default(omit) }}"
|
||||||
register: get_url_result
|
register: get_url_result
|
||||||
until: "'OK' in get_url_result.msg or 'file already exists' in get_url_result.msg"
|
until: "'OK' in get_url_result.msg or 'file already exists' in get_url_result.msg"
|
||||||
retries: 4
|
retries: 4
|
||||||
|
|
Loading…
Reference in a new issue