mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-06 18:57:36 +01:00
Another attempt to get ansible.cfg to work.
This commit is contained in:
parent
c97eec3adb
commit
0286ea1ca9
11
.travis.yml
11
.travis.yml
@ -1,14 +1,23 @@
|
||||
---
|
||||
language: python
|
||||
python: "2.7"
|
||||
|
||||
env:
|
||||
- SITE=test.yml
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
|
||||
install:
|
||||
# Install Ansible.
|
||||
- pip install ansible==1.5.0
|
||||
- "printf '[defaults]\nroles_path = ../' > ansible.cfg"
|
||||
|
||||
# Add ansible.cfg to pick up roles path.
|
||||
- "printf '[defaults]\\nroles_path = ../' > ansible.cfg"
|
||||
|
||||
# Install required dependencies.
|
||||
- ansible-galaxy install geerlingguy.apache
|
||||
|
||||
script:
|
||||
# Check the role/playbook's syntax.
|
||||
- "ansible-playbook -i tests/inventory tests/$SITE --syntax-check"
|
||||
|
Loading…
Reference in New Issue
Block a user