mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
Merge pull request #310 from dlundgren/dl/allow-php-version-override-on-debian
Allow the php version to be overridden.
This commit is contained in:
commit
6197f0bea4
@ -6,10 +6,11 @@
|
||||
- files:
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
skip: true
|
||||
|
||||
- name: Set the default PHP version for Debian-based OSes.
|
||||
set_fact:
|
||||
php_default_version_debian: "{{ __php_default_version_debian }}"
|
||||
when: ansible_os_family == 'Debian'
|
||||
when: php_default_version_debian is not defined and ansible_os_family == 'Debian'
|
||||
|
||||
- name: Include OS-specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user