mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-22 10:25:40 +01:00
Issue #9: Add support for php7.2
This commit is contained in:
parent
b0e9fc60d2
commit
d85fe20e13
@ -1,6 +1,9 @@
|
||||
---
|
||||
- name: Include OS-specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
include_vars: "{{ item }}"
|
||||
with_fileglob:
|
||||
- "../vars/{{ ansible_os_family }}.yml"
|
||||
- "../vars/{{ ansible_os_family }}-php{{ php_version }}.yml"
|
||||
|
||||
- name: Define PHP variables.
|
||||
set_fact: "{{ item.key }}={{ hostvars[inventory_hostname][item.value] }}"
|
||||
|
@ -49,3 +49,4 @@
|
||||
- php5.6-common
|
||||
- php7.0-common
|
||||
- php7.1-common
|
||||
- php7.2-common
|
||||
|
16
vars/Debian-php7.2.yml
Normal file
16
vars/Debian-php7.2.yml
Normal file
@ -0,0 +1,16 @@
|
||||
__php_packages:
|
||||
- "php{{ php_version }}"
|
||||
- "php{{ php_version }}-apcu"
|
||||
- "php{{ php_version }}-cli"
|
||||
- "php{{ php_version }}-common"
|
||||
- "php{{ php_version }}-curl"
|
||||
- "php{{ php_version }}-dev"
|
||||
- "php{{ php_version }}-fpm"
|
||||
- "php{{ php_version }}-gd"
|
||||
- "php{{ php_version }}-imap"
|
||||
- "php{{ php_version }}-json"
|
||||
- "php{{ php_version }}-mbstring"
|
||||
- "php{{ php_version }}-opcache"
|
||||
- "php{{ php_version }}-sqlite3"
|
||||
- "php{{ php_version }}-xml"
|
||||
- "php{{ php_version }}-yaml"
|
Loading…
Reference in New Issue
Block a user