Skip to content

Commit

Permalink
fix: 修复php安装包下载地址为sohu镜像站
Browse files Browse the repository at this point in the history
  • Loading branch information
daixijun committed Mar 30, 2020
1 parent b648a71 commit 29cd333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
php_version: 7.3.13
php_web_user: nginx
php_download_url: https://www.php.net/distributions/php-{{ php_version }}.tar.gz
php_download_url: https://mirrors.sohu.com/php/php-{{ php_version }}.tar.gz
php_libzip_version: 1.3.2
php_libzip_download_url: https://libzip.org/download/libzip-{{ php_libzip_version }}.tar.gz
php_remote_src: true
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- name: Download php package
get_url:
url: "{{ php_download_url }}"
dest: "{{ role_path }}/files/"
dest: "{{ role_path }}/files/{{ php_download_url | basename }}"
timeout: 120
become: false
run_once: true
Expand Down

0 comments on commit 29cd333

Please sign in to comment.