From 7ef3bd4e3bfc9d99ecbf95cfeb5b9b93ba2ee76a Mon Sep 17 00:00:00 2001 From: HansMorb <6433480+hansmorb@users.noreply.github.com> Date: Sat, 30 Apr 2022 15:22:01 +0200 Subject: [PATCH 1/3] added ubuntu-22 compatibility --- vars/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vars/main.yml b/vars/main.yml index cce711b..572d2d2 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -23,6 +23,7 @@ _php_fpm_directory: Ubuntu-17: /etc/php/7.1/fpm Ubuntu-18: /etc/php/7.2/fpm Ubuntu-19: /etc/php/7.2/fpm + Ubuntu-22: /etc/php/8.1/fpm Ubuntu: /etc/php/7.4/fpm php_fpm_directory: "{{ _php_fpm_directory[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_php_fpm_directory[ansible_distribution] | default(_php_fpm_directory['default'] )) }}" @@ -62,6 +63,7 @@ _php_fpm_service: Ubuntu-17: php7.1-fpm.service Ubuntu-18: php7.2-fpm.service Ubuntu-19: php7.2-fpm.service + Ubuntu-22: php8.1-fpm.service Ubuntu: php7.4-fpm.service php_fpm_service: "{{ _php_fpm_service[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_php_fpm_service[ansible_distribution] | default(_php_fpm_service['default'] )) }}" From b12d8feb99333b4a76b5175a3e73fa4c4bfe23da Mon Sep 17 00:00:00 2001 From: HansMorb <6433480+hansmorb@users.noreply.github.com> Date: Tue, 10 May 2022 12:07:27 +0200 Subject: [PATCH 2/3] ubuntu 20 now uses php 7.4, default versions use 8.1 --- vars/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vars/main.yml b/vars/main.yml index 572d2d2..d042e7f 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -23,8 +23,9 @@ _php_fpm_directory: Ubuntu-17: /etc/php/7.1/fpm Ubuntu-18: /etc/php/7.2/fpm Ubuntu-19: /etc/php/7.2/fpm - Ubuntu-22: /etc/php/8.1/fpm - Ubuntu: /etc/php/7.4/fpm + Ubuntu-20: /etc/php/7.4/fpm + Ubuntu: /etc/php/8.1/fpm + php_fpm_directory: "{{ _php_fpm_directory[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_php_fpm_directory[ansible_distribution] | default(_php_fpm_directory['default'] )) }}" @@ -63,8 +64,8 @@ _php_fpm_service: Ubuntu-17: php7.1-fpm.service Ubuntu-18: php7.2-fpm.service Ubuntu-19: php7.2-fpm.service - Ubuntu-22: php8.1-fpm.service - Ubuntu: php7.4-fpm.service + Ubuntu-20: php7.4-fpm.service + Ubuntu: php8.1-fpm.service php_fpm_service: "{{ _php_fpm_service[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_php_fpm_service[ansible_distribution] | default(_php_fpm_service['default'] )) }}" From c302ed785b4c1142e6b9792769a57c4663a8d132 Mon Sep 17 00:00:00 2001 From: HansMorb <6433480+hansmorb@users.noreply.github.com> Date: Wed, 11 May 2022 11:48:46 +0200 Subject: [PATCH 3/3] added bookworm support --- vars/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vars/main.yml b/vars/main.yml index d042e7f..e190a87 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -17,6 +17,7 @@ _php_fpm_directory: Debian: /etc/php/7.3/fpm Debian-testing: &testing_directory /etc/php/7.4/fpm Debian-11: *testing_directory + Debian-12: /etc/php/8.1/fpm Debian-unstable: /etc/php/7.4/fpm Fedora: /etc openSUSE Leap: /etc/php7/fpm @@ -58,6 +59,7 @@ _php_fpm_service: Debian: php7.3-fpm.service Debian-testing: &testing_service php7.4-fpm.service Debian-11: *testing_service + Debian-12: php8.1-fpm.service Debian-unstable: php7.4-fpm.service Fedora: php-fpm openSUSE Leap: php-fpm