2016-02-16 17:25:40 +01:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
|
|
|
|
vars:
|
|
|
|
php_enable_webserver: false
|
2016-03-04 03:24:47 +01:00
|
|
|
php_memory_limit: "192M"
|
2016-05-12 05:45:27 +02:00
|
|
|
php_enablerepo: "remi,remi-php70"
|
2016-02-16 17:25:40 +01:00
|
|
|
|
|
|
|
pre_tasks:
|
|
|
|
- name: Ensure build dependencies are installed (RedHat).
|
|
|
|
yum: name=which state=present
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
2016-05-12 05:45:27 +02:00
|
|
|
- name: Add repository for PHP 7.
|
|
|
|
apt_repository: repo='ppa:ondrej/php'
|
2016-02-16 22:59:49 +01:00
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2016-02-16 17:25:40 +01:00
|
|
|
roles:
|
2016-02-16 22:59:49 +01:00
|
|
|
- { role: geerlingguy.repo-remi, when: ansible_os_family == 'RedHat' }
|
2016-02-16 17:25:40 +01:00
|
|
|
- role_under_test
|