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)
|
||||
|
|
|
|||
|
|
@ -20,5 +20,4 @@
|
|||
- name: Check the installation
|
||||
command: composer -V --no-ansi
|
||||
register: composer_result
|
||||
changed_when: "'Composer version' in composer_result.stdout"
|
||||
failed_when: "'Composer version' not in composer_result.stdout"
|
||||
Loading…
Add table
Add a link
Reference in a new issue