23 lines
527 B
YAML
23 lines
527 B
YAML
|
---
|
||
|
- hosts: all
|
||
|
|
||
|
vars:
|
||
|
php_enablerepo: "remi,remi-php70"
|
||
|
|
||
|
pre_tasks:
|
||
|
- name: Update apt cache.
|
||
|
apt: update_cache=yes
|
||
|
when: ansible_os_family == 'Debian'
|
||
|
|
||
|
- name: Include CentOS 7-specific vars.
|
||
|
include_vars: centos7-vars.yml
|
||
|
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == "7"
|
||
|
|
||
|
roles:
|
||
|
- role: geerlingguy.repo-remi
|
||
|
when: ansible_os_family == 'RedHat'
|
||
|
- geerlingguy.apache
|
||
|
- geerlingguy.mysql
|
||
|
- geerlingguy.php
|
||
|
- role_under_test
|