]>
Commit | Line | Data |
---|---|---|
8692bc27 | 1 | --- |
d0ad3639 | 2 | language: nix |
8692bc27 | 3 | |
8692bc27 GD |
4 | sudo: false |
5 | ||
8692bc27 | 6 | install: |
d0ad3639 | 7 | - nix-env -i python2.7-ansible |
b8ad037f | 8 | - nix-env -i python2.7-ansible-lint |
8692bc27 GD |
9 | |
10 | # Check ansible version | |
11 | - ansible --version | |
12 | ||
f03052d5 FM |
13 | # Alias role name to mimic actual Galaxy deployment |
14 | - ln -s ansible-clever ../clever | |
15 | ||
8692bc27 GD |
16 | # Create ansible.cfg with correct roles_path |
17 | - printf '[defaults]\nroles_path=../' >ansible.cfg | |
18 | ||
19 | script: | |
20 | # Basic role syntax check | |
21 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check | |
7485b189 | 22 | - ansible-lint . |
8692bc27 GD |
23 | |
24 | notifications: | |
910f387d | 25 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB |