mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-23 10:35:11 +01:00
17 lines
455 B
YAML
17 lines
455 B
YAML
---
|
|
- 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"
|