Try to pass Travis test

This commit is contained in:
Kirill Klenov 2014-09-02 23:19:40 +01:00
parent f54331fc08
commit 4b1c7027fd
1 changed files with 6 additions and 6 deletions

View File

@ -17,11 +17,11 @@ script:
- ansible-playbook -i inventory test.yml --connection=local --sudo
# Second run Idempotence test
# - >
# ansible-playbook -i inventory test.yml --connection=local --sudo
# | grep -q 'changed=0.*failed=0'
# && (echo 'Idempotence test: pass' && exit 0)
# || (echo 'Idempotence test: fail' && exit 1)
- >
ansible-playbook -i inventory test.yml --connection=local --sudo
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
# Check for mongodb is running
- ps -ef | grep [m]ongod || exit 1
# - ps -ef | grep [m]ongod || exit 1