Browse Source

[#10148] The download.timeout can be changed by variable download.timeout (#10149)

Reference:
  https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html#parameter-timeout
pull/10175/head
yjqg6666 1 year ago
committed by GitHub
parent
commit
0b102287d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/download/tasks/download_file.yml

1
roles/download/tasks/download_file.yml

@ -93,6 +93,7 @@
url_username: "{{ download.username | default(omit) }}"
url_password: "{{ download.password | default(omit) }}"
force_basic_auth: "{{ download.force_basic_auth | default(omit) }}"
timeout: "{{ download.timeout | default(omit) }}"
delegate_to: "{{ download_delegate if download_force_cache else inventory_hostname }}"
run_once: "{{ download_force_cache }}"
register: get_url_result

Loading…
Cancel
Save