We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a7a98 commit fbb164eCopy full SHA for fbb164e
.travis.yml
@@ -1,12 +1,20 @@
1
---
2
language: python
3
python: "2.7"
4
+
5
env:
6
- SITE=test.yml
7
8
before_install:
9
- sudo apt-get update -qq
10
11
install:
12
+ # Install Ansible.
13
- pip install ansible==1.5.0
14
15
+ # Add ansible.cfg to pick up roles path.
16
+ - "printf '[defaults]\nroles_path = ../' > ansible.cfg"
17
18
script:
19
# Check the role/playbook's syntax.
20
- "ansible-playbook -i tests/inventory tests/$SITE --syntax-check"
tests/test.yml
@@ -1,8 +1,5 @@
-- hosts: all
- vars_files:
- - '../vars/main.yml'
- tasks:
- - include: '../tasks/main.yml'
- handlers:
- - include: '../handlers/main.yml'
+- hosts: localhost
+ remote_user: root
+ roles:
+ - ansible-role-mysql
0 commit comments