Bump default PHP version to 8.1.

This commit is contained in:
Jeff Geerling 2022-09-09 10:35:11 -05:00
parent 090b3d759a
commit 574b060aa4
5 changed files with 13 additions and 12 deletions

View File

@ -41,12 +41,12 @@ jobs:
strategy:
matrix:
include:
# Default PHP version (7.4).
# Default PHP version (8.1).
- distro: rockylinux8
playbook: converge.yml
- distro: centos7
playbook: converge.yml
- distro: ubuntu1804
- distro: ubuntu2204
playbook: converge.yml
- distro: debian10
playbook: converge.yml
@ -59,13 +59,13 @@ jobs:
- distro: debian10
playbook: 8.0.yml
# PHP 7.3.
# PHP 7.4.
- distro: rockylinux8
playbook: 7.3.yml
playbook: 7.4.yml
- distro: ubuntu1804
playbook: 7.3.yml
playbook: 7.4.yml
- distro: debian10
playbook: 7.3.yml
playbook: 7.4.yml
steps:
- name: Check out the codebase.

View File

@ -12,9 +12,9 @@ N/A
Available variables are listed below, along with default values (see `defaults/main.yml`):
php_version: '7.4'
php_version: '8.1'
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.3`, `7.4`, or `8.0`).
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`, or `8.1`).
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: '7.4'
php_version: '8.1'
roles:
- name: geerlingguy.repo-remi

View File

@ -1,6 +1,6 @@
---
# The PHP version to be installed.
php_version: '7.4'
php_version: '8.1'
# For Debian OSes only.
php_versions_install_recommends: false

View File

@ -8,7 +8,7 @@ galaxy_info:
company: "Midwestern Mac, LLC"
license: "MIT"
issue_tracker_url: https://github.com/geerlingguy/ansible-role-php-versions/issues
min_ansible_version: 2.4
min_ansible_version: 2.10
platforms:
- name: EL
versions:
@ -21,6 +21,7 @@ galaxy_info:
- trusty
- xenial
- bionic
- jammy
galaxy_tags:
- php
- web

View File

@ -5,7 +5,7 @@
vars:
php_enable_webserver: false
php_version: '7.3'
php_version: '7.4'
pre_tasks:
- name: Update apt cache.