Added download_validate_certs option which allows to disables SSL validation for file downloads

This commit is contained in:
Anatoly Rugalev
2018-09-21 11:51:17 +02:00
parent 51a5f54fc4
commit 8f85ea89fa
3 changed files with 11 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
sha256sum: "{{download.sha256 | default(omit)}}"
owner: "{{ download.owner|default(omit) }}"
mode: "{{ download.mode|default(omit) }}"
validate_certs: "{{ download_validate_certs }}"
register: get_url_result
until: "'OK' in get_url_result.msg or 'file already exists' in get_url_result.msg"
retries: 4