roles/php-fpm: Use Ubuntu 20.04 configs on Debian 11

They both use PHP 7.4.
This commit is contained in:
Alan Orth 2021-09-06 21:19:57 +03:00
parent 6bc044d454
commit d261f81642
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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: