Update the Travis CI test
This commit is contained in:
parent
9295dbd64c
commit
88a0e81325
2 changed files with 6 additions and 2 deletions
|
|
@ -9,4 +9,9 @@ install:
|
|||
script:
|
||||
- echo localhost > inventory
|
||||
- ansible-playbook --syntax-check -i inventory test.yml
|
||||
- ansible-playbook -i inventory test.yml --connection=local --sudo -vvvv
|
||||
- ansible-playbook -i inventory test.yml --connection=local --sudo
|
||||
- >
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue