Fix test & syntax (#4)

* Optimize syntax
* Fix typo
This commit is contained in:
hyperized
2018-09-03 21:00:51 +02:00
committed by GitHub
parent 0e45d8daf0
commit 687042298e
9 changed files with 159 additions and 157 deletions

View File

@@ -12,18 +12,18 @@ addons:
- python-pip
install:
# Install ansible
- pip install ansible
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/