Fixes #208: Remove official Ubuntu 12.04 support.

This commit is contained in:
Jeff Geerling 2017-07-26 21:46:30 -05:00
parent d3006d2897
commit 21b3d58fba
4 changed files with 10 additions and 33 deletions

View File

@ -18,9 +18,6 @@ env:
- distro: ubuntu1404
playbook: test.yml
php_version: 7.0
- distro: ubuntu1204
playbook: test.yml
php_version: 5.6
# Only test source install on latest supported OSes.
- distro: centos7

View File

@ -20,7 +20,15 @@ galaxy_info:
- all
- name: Ubuntu
versions:
- all
- trusty
- xenial
galaxy_tags:
- development
- web
- php
- language
- fpm
- drupal
- wordpress
- joomla
- magento

View File

@ -1,21 +0,0 @@
---
php_packages:
- php5.6
- php5.6-mcrypt
- php5.6-cli
- php5.6-common
- php5.6-curl
- php5.6-dev
- php5.6-fpm
- php5.6-gd
- libpcre3-dev
php_conf_paths:
- /etc/php/5.6/fpm
- /etc/php/5.6/apache2
- /etc/php/5.6/cli
php_extension_conf_paths:
- /etc/php/5.6/fpm/conf.d
- /etc/php/5.6/apache2/conf.d
- /etc/php/5.6/cli/conf.d
php_fpm_daemon: php5.6-fpm
php_fpm_conf_path: "/etc/php/5.6/fpm"

View File

@ -15,16 +15,9 @@
changed_when: false
# Ubuntu-specific tasks.
- include_vars: test-vars-ubuntu1204.yml
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '12.04'
- name: Add repository for PHP 7.
apt_repository: repo='ppa:ondrej/php'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version != '12.04'
- name: Add repository for PHP 5.6.
apt_repository: repo='ppa:ondrej/php'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '12.04'
when: ansible_distribution == 'Ubuntu'
# Debian-specific tasks.
- name: Add dependencies for PHP versions (Debian).