mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-11-12 04:24:04 +07:00
Load default PHP version per OS release
This commit is contained in:
1 parent
8758a9b7dc
commit
f38aa400b3
6 files changed
+13
-6
No files matched your search
+1
-1
@@ -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