Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Remove deprecated PPA ondrej/php5. #972

Merged
merged 1 commit into from
Nov 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions provisioning/tasks/init-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@
apt_repository: repo='ppa:ondrej/apache2'
when: ansible_distribution_release == "precise" and ansible_distribution == "Ubuntu"

- name: Add repository for PHP 5.5.
apt_repository: repo='ppa:ondrej/php5'
when: php_version == "5.5" and ansible_distribution == "Ubuntu" and ansible_distribution_version == "12.04"

- name: Add repository for PHP 5.6 or 7.0.
- name: Add repository for PHP 5.5, 5.6 or 7.0.
apt_repository: repo='ppa:ondrej/php'
when: >
(php_version == "5.6" or php_version == "7.0") and
(php_version == "5.5" or php_version == "5.6" or php_version == "7.0") and
ansible_distribution == "Ubuntu" and
ansible_distribution_version != "16.04"

Expand Down