From cf74da8404c92e041a5a113f9bc4577cfa58f015 Mon Sep 17 00:00:00 2001 From: Lucas Costa Beyeler Date: Fri, 3 Feb 2017 23:36:40 -0200 Subject: [PATCH] Updating Travis CI --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 44c0121..1170d76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,12 @@ install: # Create ansible.cfg with correct roles_path - printf '[defaults]\nroles_path=../' >ansible.cfg + # Include the domain inside the /etc/hosts + - printf '127.0.0.1 localhost.localdomain localhost' > /etc/hosts + + # Change the hostname + - hostnamectl set-hostname 'localhost.localdomain' + script: # Basic role syntax check - ansible-playbook tests/test.yml -i tests/inventory --syntax-check