Try to pass Travis test
This commit is contained in:
parent
f54331fc08
commit
4b1c7027fd
12
.travis.yml
12
.travis.yml
|
@ -17,11 +17,11 @@ script:
|
||||||
- ansible-playbook -i inventory test.yml --connection=local --sudo
|
- ansible-playbook -i inventory test.yml --connection=local --sudo
|
||||||
|
|
||||||
# Second run Idempotence test
|
# Second run Idempotence test
|
||||||
# - >
|
- >
|
||||||
# ansible-playbook -i inventory test.yml --connection=local --sudo
|
ansible-playbook -i inventory test.yml --connection=local --sudo
|
||||||
# | grep -q 'changed=0.*failed=0'
|
| grep -q 'changed=0.*failed=0'
|
||||||
# && (echo 'Idempotence test: pass' && exit 0)
|
&& (echo 'Idempotence test: pass' && exit 0)
|
||||||
# || (echo 'Idempotence test: fail' && exit 1)
|
|| (echo 'Idempotence test: fail' && exit 1)
|
||||||
|
|
||||||
# Check for mongodb is running
|
# Check for mongodb is running
|
||||||
- ps -ef | grep [m]ongod || exit 1
|
# - ps -ef | grep [m]ongod || exit 1
|
||||||
|
|
Loading…
Reference in New Issue