mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-04-17 13:42:10 +07:00
Load default PHP version per OS release
This commit is contained in:
@@ -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 == ''
|
||||
|
||||
Reference in New Issue
Block a user