mirror of https://github.com/lucascbeyeler/zimbra
Updating Travis CI file - a new test was included
This commit is contained in:
parent
175427129d
commit
62aba9d1bd
|
|
@ -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/
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue