From d261f81642afe9a5e026e97ea82d18ba066a8ead Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 6 Sep 2021 21:19:57 +0300 Subject: [PATCH] roles/php-fpm: Use Ubuntu 20.04 configs on Debian 11 They both use PHP 7.4. --- roles/php-fpm/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/php-fpm/tasks/main.yml b/roles/php-fpm/tasks/main.yml index 1366c5d..e3ca3f5 100644 --- a/roles/php-fpm/tasks/main.yml +++ b/roles/php-fpm/tasks/main.yml @@ -2,6 +2,7 @@ # Ubuntu 18.04 uses php-fpm 7.2 # Debian 10 uses php-fpm 7.3 # Ubuntu 20.04 uses PHP 7.4 +# Debian 11 uses PHP 7.4 - name: Configure php-fpm on Ubuntu 18.04 include_tasks: Ubuntu_18.04.yml @@ -18,4 +19,10 @@ when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '==') tags: php-fpm +- name: Configure php-fpm on Debian 11 + include_tasks: Ubuntu_20.04.yml + when: ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '==') + tags: php-fpm + + # vim: set ts=2 sw=2: