From ce90f3dadfc08431bcfe82faa249abe33da04710 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 13 Aug 2019 03:09:22 +0200 Subject: [PATCH] nginx/php-fpm: Fixed getting php-fpm for newer versions of Debian --- roles/nginx/php-fpm/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nginx/php-fpm/defaults/main.yml b/roles/nginx/php-fpm/defaults/main.yml index 6f1ec8c..a2ee24f 100644 --- a/roles/nginx/php-fpm/defaults/main.yml +++ b/roles/nginx/php-fpm/defaults/main.yml @@ -1,6 +1,6 @@ --- -php_version: "7.0" +php_version: "{{ (ansible_distribution_major_version >= '10') | ternary('7.3', '7.0') }}" phpfpm_package: "php{{ php_version }}-fpm" phpfpm_configuration_directory: "/etc/php/{{ php_version }}/fpm"