Ignore warning on test.yml

freebsd
Emilien Mantel 2017-03-16 18:31:16 +01:00
parent 2987051153
commit 7f7087cdb2
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@
- name: SHELL | Check vhost
shell: "curl -v -H 'Host: {{ vhost }}' http://127.0.0.1/phpinfo.php 2> /dev/null | grep h1 | grep -o 'PHP Version [57].*<' | sed -r 's/<//g'"
args:
warn: false
changed_when: false
register: c
failed_when: c.stdout == ''