mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Allow the php version to be overridden.
This commit is contained in:
parent
3764e1662d
commit
e7da34aa44
@ -6,10 +6,11 @@
|
|||||||
- files:
|
- files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||||
skip: true
|
skip: true
|
||||||
|
|
||||||
- name: Set the default PHP version for Debian-based OSes.
|
- name: Set the default PHP version for Debian-based OSes.
|
||||||
set_fact:
|
set_fact:
|
||||||
php_default_version_debian: "{{ __php_default_version_debian }}"
|
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.
|
- name: Include OS-specific variables.
|
||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
Loading…
Reference in New Issue
Block a user