Skip to content
Snippets Groups Projects
Commit f7610bc1 authored by Chris Croome's avatar Chris Croome
Browse files

Convert PHP version to an int before checking

parent 2a873ebe
No related branches found
No related tags found
No related merge requests found
Pipeline #18599 passed
......@@ -202,7 +202,7 @@
register: apache_phpquery_version
failed_when: >
( apache_which_phpquery.stdout_lines | count > 1 ) or
( apache_which_phpquery.stdout is not version('7.0', '>=') )
( apache_which_phpquery.stdout | int is not version('7.0', '>=') )
- name: Set a fact for the PHP version
set_fact:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment