mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-21 10:15:10 +01:00
Issue #90: PHP 8.3 support.
This commit is contained in:
parent
bf9bf9de00
commit
995b0a7691
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -44,20 +44,18 @@ jobs:
|
||||
# Default PHP version.
|
||||
- distro: rockylinux9
|
||||
playbook: converge.yml
|
||||
- distro: centos7
|
||||
playbook: converge.yml
|
||||
- distro: ubuntu2204
|
||||
playbook: converge.yml
|
||||
- distro: debian10
|
||||
- distro: debian11
|
||||
playbook: converge.yml
|
||||
|
||||
# PHP 8.1.
|
||||
# PHP 8.2.
|
||||
- distro: rockylinux8
|
||||
playbook: 8.1.yml
|
||||
- distro: ubuntu2004
|
||||
playbook: 8.1.yml
|
||||
- distro: debian10
|
||||
playbook: 8.1.yml
|
||||
playbook: 8.2.yml
|
||||
- distro: ubuntu2204
|
||||
playbook: 8.2.yml
|
||||
- distro: debian11
|
||||
playbook: 8.2.yml
|
||||
|
||||
# PHP 7.4.
|
||||
- distro: rockylinux8
|
||||
|
@ -12,9 +12,9 @@ N/A
|
||||
|
||||
Available variables are listed below, along with default values (see `defaults/main.yml`):
|
||||
|
||||
php_version: '8.2'
|
||||
php_version: '8.3'
|
||||
|
||||
The PHP version to be installed. Any [currently-supported PHP major version](http://php.net/supported-versions.php) is a valid option (e.g. `7.4`, `8.0`, `8.1`, or `8.2`).
|
||||
The PHP version to be installed. Any [currently-supported PHP major version](http://php.net/supported-versions.php) is a valid option (e.g. `7.4`, `8.1`, `8.2`, or `8.3`).
|
||||
|
||||
php_versions_install_recommends: false
|
||||
|
||||
@ -31,7 +31,7 @@ The PHP version to be installed. Any [currently-supported PHP major version](htt
|
||||
become: true
|
||||
|
||||
vars:
|
||||
php_version: '8.2'
|
||||
php_version: '8.3'
|
||||
|
||||
roles:
|
||||
- name: geerlingguy.repo-remi
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
# The PHP version to be installed.
|
||||
php_version: '8.2'
|
||||
php_version: '8.3'
|
||||
|
||||
# For Debian OSes only.
|
||||
php_versions_install_recommends: false
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
vars:
|
||||
php_enable_webserver: false
|
||||
php_version: '8.1'
|
||||
php_version: '8.2'
|
||||
|
||||
pre_tasks:
|
||||
- name: Update apt cache.
|
@ -25,6 +25,10 @@
|
||||
set_fact: php_enablerepo="remi,remi-php82"
|
||||
when: php_version == "8.2"
|
||||
|
||||
- name: Enable remi repo for PHP 8.3.
|
||||
set_fact: php_enablerepo="remi,remi-php83"
|
||||
when: php_version == "8.3"
|
||||
|
||||
# See: https://github.com/ansible/ansible/issues/64852
|
||||
- block:
|
||||
|
||||
|
@ -45,3 +45,6 @@ php_versions_debian:
|
||||
- php7.3-common
|
||||
- php7.4-common
|
||||
- php8.0-common
|
||||
- php8.1-common
|
||||
- php8.2-common
|
||||
- php8.3-common
|
||||
|
Loading…
Reference in New Issue
Block a user