File tree Expand file tree Collapse file tree 5 files changed +45
-1
lines changed
Expand file tree Collapse file tree 5 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 1+ exclude_paths:
2+ - ./tests/requirements
Original file line number Diff line number Diff line change 1+ ---
2+ language : python
3+ cache : pip
4+ python : " 2.7"
5+
6+ # Use the new container infrastructure
7+ sudo : false
8+
9+ # Install pip
10+ addons :
11+ apt :
12+ packages :
13+ - python-pip
14+
15+ install :
16+ # Install ansible and dependencies
17+ - pip install ansible ansible-lint
18+
19+ # Check ansible version
20+ - ansible --version
21+
22+ # Create ansible.cfg with correct roles_path
23+ - printf '[defaults]\nroles_path=./tests/requirements/:../' >ansible.cfg
24+
25+ script :
26+ # Run ansible-lint
27+ - ansible-lint .
28+
29+ # Basic role syntax check
30+ - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
31+
32+ notifications :
33+ webhooks : https://galaxy.ansible.com/api/v1/notifications/
Original file line number Diff line number Diff line change 3535 shell : " {{ _mvn_cmdline }}"
3636 args :
3737 chdir : " {{ conga_basedir }}"
38- tags : conga-maven-compile
38+ tags :
39+ - conga-maven-compile
40+ - skip_ansible_lint
3941
4042- name : Set fact that CONGA configuration was generated
4143 set_fact : conga_configuration_generated=true
Original file line number Diff line number Diff line change 1+ [test]
2+ localhost
3+
Original file line number Diff line number Diff line change 1+ - name : test role syntax
2+ hosts : test
3+ roles :
4+ - ansible-conga-maven
You can’t perform that action at this time.
0 commit comments