From 62aba9d1bddeade214d41b724458fd5f0631d564 Mon Sep 17 00:00:00 2001 From: Lucas Costa Beyeler Date: Fri, 3 Feb 2017 22:20:11 -0200 Subject: [PATCH] Updating Travis CI file - a new test was included --- .travis.yml | 4 ++++ tests/test.yml | 7 +++++++ 2 files changed, 11 insertions(+) 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