Fixes #42: Fails in --check mode.

This commit is contained in:
Jeff Geerling 2015-05-26 10:32:11 -05:00
parent 5f63396f3a
commit c862766a43
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,9 @@ script:
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
# Run the role/playbook in --check mode.
- "ansible-playbook -i tests/inventory tests/$SITE --check"
# Make sure PHP is running.
- >
php -v

View File

@ -34,6 +34,7 @@
shell: php -r "echo PHP_VERSION;"
register: php_version
changed_when: false
always_run: yes
- name: Disable opcache if PHP version is < 5.5.
set_fact: