Load default PHP version per OS release

This commit is contained in:
Emilien Mantel
2017-06-13 11:51:51 +02:00
parent 8758a9b7dc
commit f38aa400b3
6 changed files with 13 additions and 6 deletions

View File

@@ -58,7 +58,7 @@
post_tasks:
- name: SHELL | Test php-cli
shell: php -i | grep '^PHP Version' | head -n 1
shell: php -i | grep '^PHP Version => {{ php_version }}' | head -n 1
changed_when: false
register: p
failed_when: p.stdout == ''