mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
get_url 'timeout: "{{ download_timeout }}"' in 10 roles
This commit is contained in:
parent
a84cf2068c
commit
5f3708fe29
10 changed files with 28 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
get_url:
|
||||
url: "{{ phpmyadmin_dl_url }}" # e.g. https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-all-languages.zip
|
||||
dest: "{{ downloads_dir }}" # /opt/iiab/downloads
|
||||
timeout: "{{ download_timeout }}" # 200
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available
|
||||
|
||||
- name: Does {{ downloads_dir }}/{{ phpmyadmin_name_zip }} exist?
|
||||
|
@ -18,7 +18,7 @@
|
|||
dest: /opt
|
||||
owner: "{{ apache_user }}" # www-data on debuntu
|
||||
group: "{{ apache_user }}"
|
||||
#timeout: "{{ download_timeout }}" # Use get_url if timeout (200s) required
|
||||
#timeout: "{{ download_timeout }}" # Use get_url if timeout (200s) required
|
||||
|
||||
- name: Symlink /opt/phpmyadmin -> {{ phpmyadmin_name }}
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue