Updating Travis CI file - a new test was included

This commit is contained in:
Lucas Costa Beyeler 2017-02-03 22:20:11 -02:00
parent 175427129d
commit 62aba9d1bd
2 changed files with 11 additions and 0 deletions

View File

@ -23,9 +23,13 @@ install:
# Install ansible-commons # Install ansible-commons
- ansible-galaxy install lucascbeyeler.commons - ansible-galaxy install lucascbeyeler.commons
script: script:
# Basic role syntax check # Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
# Run the role/playbook with ansible-playbook.
- "ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo"
notifications: notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/ webhooks: https://galaxy.ansible.com/api/v1/notifications/

View File

@ -2,6 +2,13 @@
- hosts: localhost - hosts: localhost
remote_user: root remote_user: root
roles: roles:
- role: ansible-commons
hostname: warudo
domain: hollowbastion.com
zmpasswd: 123change
zmnetwork: 192.168.122.0/24
- role: ansible-zimbra - role: ansible-zimbra
hostname: warudo hostname: warudo
domain: hollowbastion.com domain: hollowbastion.com