From 16583426bbbf2f15fa161a1e6d12e624516f545a Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Tue, 16 Nov 2021 15:44:43 +0000 Subject: [PATCH] Remove PHP => 7.0 test --- tasks/checks.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/checks.yml b/tasks/checks.yml index bfe54e3..6a26e6d 100644 --- a/tasks/checks.yml +++ b/tasks/checks.yml @@ -193,16 +193,14 @@ - name: Check PHP version block: - - name: Run phpquery to get the PHP version + - name: Run phpquery to get the PHP version NOTE that currently having one one version installed is supported command: phpquery -V args: strip_empty_ends: true check_mode: false changed_when: false register: apache_phpquery_version - failed_when: > - ( apache_which_phpquery.stdout_lines | count > 1 ) or - ( apache_which_phpquery.stdout | int is not version('7.0', '>=') ) + failed_when: apache_which_phpquery.stdout_lines | count > 1 - name: Set a fact for the PHP version set_fact: -- GitLab