Update the delete test to look for 'ok' not 'changed'

This commit is contained in:
Nick Janetakis
2014-07-01 17:21:36 -04:00
parent 2c00ca4981
commit 155d0e9813

View File

@@ -44,7 +44,7 @@ script:
|| (echo 'Ownership test: fail' && exit 1)
- >
ansible-playbook $SITE_AND_INVENTORY --connection=local --extra-vars='rvm1_delete_ruby=2.1.0'
| grep -q 'changed=1.*failed=0'
| grep -q 'ok=1.*failed=0'
&& (echo 'Delete ruby test: pass' && exit 0)
|| (echo 'Delete ruby test: fail' && exit 1)
- >