ansible-training-test/playbooks/roles/defunctzombie.coreos-bootstrap/.travis.yml

20 lines
351 B
YAML
Raw Normal View History

2018-07-27 10:01:50 +02:00
---
language: python
python: "2.7"
env:
- SITE=test.yml
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y curl
install:
- pip install ansible
# Add ansible.cfg to pick up roles path.
- "printf '[defaults]\nroles_path = ../' > ansible.cfg"
script:
- "ansible-playbook -i tests/inventory tests/$SITE --syntax-check"