From e7a4fe4c0543807580179c36179be61f9f1685e5 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 16 Feb 2016 21:35:19 -0600 Subject: [PATCH] Fixes #76: Wrong variable 'php_installed_version'. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8731408..5c1d06a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -45,7 +45,7 @@ when: php_install_from_source == true - 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 changed_when: false always_run: yes