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:
Jeff Geerling 2020-10-23 13:00:55 -05:00 committed by GitHub
commit 6197f0bea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"