From 7602997d29422b1cfaebea95c9b561746ff0af8d Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Fri, 5 May 2023 08:28:05 +0100
Subject: [PATCH] add debugging for php version

---
 tasks/checks.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tasks/checks.yml b/tasks/checks.yml
index fcf745d..49eedba 100644
--- a/tasks/checks.yml
+++ b/tasks/checks.yml
@@ -234,9 +234,10 @@
         - name: Debug PHP FPM module and conf names
           ansible.builtin.debug:
             msg:
+              - "apache_php_version: {{ apache_php_version }}"
               - "apache_phpfpm_mod: {{ apache_phpfpm_mod }}"
               - "apache_phpfpm_conf: {{ apache_phpfpm_conf }}"
-            verbosity: 2
+            verbosity: "{% if ansible_check_mode | bool %}0{% else %}1{% endif %}"
 
       when: ( apache_php is defined ) and ( apache_php )
 
-- 
GitLab