diff --git a/CHANGELOG.md b/CHANGELOG.md index dbf9af6..87dd5fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,12 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Changed ### Fixed -## [3.1.2](https://github.com/idealista/php_role/tree/3.1.3) (2022-05-23) +## [3.1.4](https://github.com/idealista/php_role/tree/3.1.4) (2022-06-19) +## [Full Changelog](https://github.com/idealista/php_role/compare/3.1.3...3.1.4) +### Changed +- *[#38](https://github.com/idealista/php_role/issues/38) Change source download. + +## [3.1.3](https://github.com/idealista/php_role/tree/3.1.3) (2022-05-23) ## [Full Changelog](https://github.com/idealista/php_role/compare/3.1.2...3.1.3) ### Fixed - *[#35](https://github.com/idealista/php_role/issues/35) [BUG] php_reinstall flag is not working properly* @emepege diff --git a/defaults/main.yml b/defaults/main.yml index 4fd332e..063c4ff 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,9 +2,8 @@ php_version: 7.4.25 php_reinstall: false -# Available PHP mirrors can be found here: http://php.net/mirrors.php -php_download_mirror_domain: es1.php.net -php_download_url: "http://{{ php_download_mirror_domain }}/get/php-{{ php_version }}.tar.gz/from/this/mirror" + +php_download_url: "https://github.com/php/php-src/archive/refs/tags/php-{{ php_version }}.tar.gz" # Files & Paths php_download_dir: "/usr/src/php_{{ php_version }}" diff --git a/tasks/install.yml b/tasks/install.yml index 8c05fa4..2d1994a 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -44,6 +44,12 @@ dest: "{{ php_include_ini_scan_dir }}" state: directory +- name: PHP | Buildconf + command: ./buildconf --force + args: + chdir: "{{ php_download_dir }}" + tags: skip_ansible_lint + - name: PHP | Configure installation command: ./configure --prefix={{ php_install_dir }} {{ php_compile_options_command | default('') }} args: