diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1186b02..c864121 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index c741454..633754d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/defaults/main.yml b/defaults/main.yml index 1ea0933..2925129 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/molecule/default/8.1.yml b/molecule/default/8.2.yml similarity index 95% rename from molecule/default/8.1.yml rename to molecule/default/8.2.yml index fbc876c..2bcd3c4 100644 --- a/molecule/default/8.1.yml +++ b/molecule/default/8.2.yml @@ -5,7 +5,7 @@ vars: php_enable_webserver: false - php_version: '8.1' + php_version: '8.2' pre_tasks: - name: Update apt cache. diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index 0e270e9..67dcca7 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -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: diff --git a/vars/Debian.yml b/vars/Debian.yml index bcaee60..348ab17 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -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