Updating Travis CI

This commit is contained in:
Lucas Costa Beyeler
2017-02-03 23:36:40 -02:00
parent ed25910150
commit cf74da8404
+6
View File
@@ -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