mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
Fixes #42: Fails in --check mode.
This commit is contained in:
parent
5f63396f3a
commit
c862766a43
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user