Run tests in color.

This commit is contained in:
Bob Vincent 2018-08-10 13:56:24 -04:00
parent 8a2dbf0f41
commit 275c9afcd4

View file

@ -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.
- >