Commit 863789b1 authored by Chris Croome's avatar Chris Croome

phpquery check fixed

parent 49e140ce
Pipeline #10743 passed with stage
in 34 seconds
......@@ -70,7 +70,7 @@
- munin
- name: Check is phpquery is available
shell: which phpquery && echo PRESENT || echo ABSENT
shell: which phpquery || echo ABSENT
register: munin_phpquery
check_mode: false
tags:
......@@ -84,9 +84,7 @@
- phpfpm_multi.yml
loop_control:
loop_var: tasks
when:
- ( munin_phpquery is defined )
- ( munin_phpquery.stdout == "PRESENT" )
when: ( munin_phpquery is defined ) and ( "phpquery" in munin_phpquery.stdout )
tags:
- munin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment