mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-25 21:51:20 +01:00
Fixes #160: Dynamically include files to prevent errors with 2.2.x.
This commit is contained in:
parent
8ad3424d05
commit
8e227e5bf2
@ -46,16 +46,23 @@
|
|||||||
# Setup/install tasks.
|
# Setup/install tasks.
|
||||||
- include: setup-RedHat.yml
|
- include: setup-RedHat.yml
|
||||||
when: (php_install_from_source == false) and (ansible_os_family == 'RedHat')
|
when: (php_install_from_source == false) and (ansible_os_family == 'RedHat')
|
||||||
|
static: no
|
||||||
|
|
||||||
- include: setup-Debian.yml
|
- include: setup-Debian.yml
|
||||||
when: (php_install_from_source == false) and (ansible_os_family == 'Debian')
|
when: (php_install_from_source == false) and (ansible_os_family == 'Debian')
|
||||||
|
static: no
|
||||||
|
|
||||||
# Install PHP from source when php_install_from_source is true.
|
# Install PHP from source when php_install_from_source is true.
|
||||||
- include: install-from-source.yml
|
- include: install-from-source.yml
|
||||||
when: php_install_from_source == true
|
when: php_install_from_source == true
|
||||||
|
static: no
|
||||||
|
|
||||||
# Configure PHP.
|
# Configure PHP.
|
||||||
- include: configure.yml
|
- include: configure.yml
|
||||||
|
static: no
|
||||||
- include: configure-apcu.yml
|
- include: configure-apcu.yml
|
||||||
|
static: no
|
||||||
- include: configure-opcache.yml
|
- include: configure-opcache.yml
|
||||||
|
static: no
|
||||||
- include: configure-fpm.yml
|
- include: configure-fpm.yml
|
||||||
|
static: no
|
||||||
|
Loading…
Reference in New Issue
Block a user