mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-22 10:25:40 +01:00
Fixes #28: Remove support for ancient unsupported PHP versions 5.6, 7.0, and 7.1.
This commit is contained in:
parent
c0d2f0ada0
commit
4eddc4bf54
@ -32,9 +32,3 @@
|
||||
|
||||
# Setup tasks.
|
||||
- include_tasks: "setup-{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Set the correct XHProf package when PHP 5.6 is used.
|
||||
set_fact:
|
||||
xhprof_download_url: https://github.com/phacility/xhprof/archive/master.tar.gz
|
||||
xhprof_download_folder_name: xhprof-master
|
||||
when: php_version == '5.6'
|
||||
|
@ -7,13 +7,6 @@
|
||||
apt_repository: repo='ppa:ondrej/php'
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
|
||||
- name: Add repository for PHP 5 compatibility packages (Ubuntu).
|
||||
apt_repository: repo='ppa:ondrej/php5-compat'
|
||||
when:
|
||||
- php_version == "5.6"
|
||||
- ansible_distribution == "Ubuntu"
|
||||
- ansible_distribution_release != "bionic"
|
||||
|
||||
# Debian-specific tasks.
|
||||
- name: Add dependencies for PHP versions (Debian).
|
||||
apt:
|
||||
|
@ -1,16 +1,4 @@
|
||||
---
|
||||
- name: Enable remi repo for PHP 5.6.
|
||||
set_fact: php_enablerepo="remi,remi-php56"
|
||||
when: php_version == "5.6"
|
||||
|
||||
- name: Enable remi repo for PHP 7.0.
|
||||
set_fact: php_enablerepo="remi,remi-php70"
|
||||
when: php_version == "7.0"
|
||||
|
||||
- name: Enable remi repo for PHP 7.1.
|
||||
set_fact: php_enablerepo="remi,remi-php71"
|
||||
when: php_version == "7.1"
|
||||
|
||||
- name: Enable remi repo for PHP 7.2.
|
||||
set_fact: php_enablerepo="remi,remi-php72"
|
||||
when: php_version == "7.2"
|
||||
|
@ -39,8 +39,5 @@ __php_packages:
|
||||
- "php{{ php_version }}-yaml"
|
||||
|
||||
php_versions_debian:
|
||||
- php5.6-common
|
||||
- php7.0-common
|
||||
- php7.1-common
|
||||
- php7.2-common
|
||||
- php7.3-common
|
||||
|
Loading…
Reference in New Issue
Block a user