mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-23 17:10:19 +01:00
ci: Run the new tests also in the travis
This commit is contained in:
parent
e4de9a6afd
commit
80a72b206e
1 changed files with 12 additions and 0 deletions
12
.travis.yml
12
.travis.yml
|
@ -66,3 +66,15 @@ script:
|
|||
ANSIBLE_FORCE_COLOR=1 ansible-playbook -i tests/inventory tests/tests_match_iterate.yml --connection=local --become -v
|
||||
&& (echo 'Match blocks with iteration test: pass' && exit 0)
|
||||
|| (echo 'Match blocks with iteration test: fail' && exit 1)
|
||||
|
||||
# Test 8: Test hostkeys can be generated by this role
|
||||
- >
|
||||
ANSIBLE_FORCE_COLOR=1 ansible-playbook -i tests/inventory tests/tests_hostkeys.yml --connection=local --become -v
|
||||
&& (echo 'Hostkeys test: pass' && exit 0)
|
||||
|| (echo 'Hostkeys test: fail' && exit 1)
|
||||
|
||||
# Test 9: Test missing hostkeys
|
||||
- >
|
||||
ANSIBLE_FORCE_COLOR=1 ansible-playbook -i tests/inventory tests/tests_hostkeys_missing.yml --connection=local --become -v
|
||||
&& (echo 'Missing hostkeys test: pass' && exit 0)
|
||||
|| (echo 'Missing hostkeys test: fail' && exit 1)
|
||||
|
|
Loading…
Reference in a new issue