mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-24 01:20:18 +01:00
Run tests in color.
This commit is contained in:
parent
8a2dbf0f41
commit
275c9afcd4
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ install:
|
|||
|
||||
script:
|
||||
# Check the roles syntax
|
||||
- "ansible-playbook -i tests/inventory tests/test.yml --syntax-check"
|
||||
- "ANSIBLE_FORCE_COLOR=1 ansible-playbook -i tests/inventory tests/test.yml --syntax-check"
|
||||
|
||||
# Run the role
|
||||
- "ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo"
|
||||
- "ANSIBLE_FORCE_COLOR=1 ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo -v"
|
||||
|
||||
# Run the role/playbook again, checking to make sure it's idempotent.
|
||||
- >
|
||||
|
|
Loading…
Reference in a new issue