Optimize syntax

This commit is contained in:
Gerben Geijteman
2018-09-03 20:40:10 +02:00
parent 0e45d8daf0
commit 2e0fef1654
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/