mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
Fixes #76: Wrong variable 'php_installed_version'.
This commit is contained in:
parent
07fe90f888
commit
e7a4fe4c05
@ -45,7 +45,7 @@
|
|||||||
when: php_install_from_source == true
|
when: php_install_from_source == true
|
||||||
|
|
||||||
- name: Check the installed version of PHP.
|
- name: Check the installed version of PHP.
|
||||||
shell: '{{ php_executable }} -r "echo php_installed_version;"'
|
shell: '{{ php_executable }} -r "echo PHP_VERSION;"'
|
||||||
register: php_installed_version
|
register: php_installed_version
|
||||||
changed_when: false
|
changed_when: false
|
||||||
always_run: yes
|
always_run: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user