Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (15 sloc) 465 Bytes
---
language: python
python:
- 2.7
install:
- pip install ansible==1.5.0
script:
- cd tests
- ansible-playbook -i inventory playbook.yml --syntax-check
- ansible-playbook -i inventory playbook.yml --connection=local --sudo
- >
ansible-playbook -i inventory playbook.yml --connection=local --sudo
| grep -q 'changed=0.*unreachable=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
You can’t perform that action at this time.