Add test to make sure PHP is installed.

This commit is contained in:
Jeff Geerling 2014-04-23 11:35:38 -05:00
parent 7852afd8a9
commit 14be30558c
2 changed files with 6 additions and 4 deletions

View File

@ -21,5 +21,9 @@ script:
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
# Check PHP version to see if it's running...
# TODO
# Make sure PHP is running.
- >
php -v
| grep -q 'The PHP Group'
&& (echo 'PHP is installed' && exit 0)
|| (echo 'PHP is not installed' && exit 1)

View File

@ -1,7 +1,5 @@
---
- hosts: all
vars_files:
- '../vars/main.yml'
tasks:
- include: '../tasks/main.yml'
handlers: