diff --git a/.travis.yml b/.travis.yml index 30be37f..56be7bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,13 @@ install: # Install ansible-commons - ansible-galaxy install lucascbeyeler.commons + script: # Basic role 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: webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/tests/test.yml b/tests/test.yml index b724d18..c2a8994 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -2,6 +2,13 @@ - hosts: localhost remote_user: root roles: + + - role: ansible-commons + hostname: warudo + domain: hollowbastion.com + zmpasswd: 123change + zmnetwork: 192.168.122.0/24 + - role: ansible-zimbra hostname: warudo domain: hollowbastion.com