parent
bdef040c31
commit
6d9c924764
@ -0,0 +1,3 @@ |
|||||||
|
--- |
||||||
|
skip_list: |
||||||
|
- yaml |
@ -0,0 +1,21 @@ |
|||||||
|
--- |
||||||
|
kind: pipeline |
||||||
|
type: docker |
||||||
|
name: Lint |
||||||
|
|
||||||
|
steps: |
||||||
|
- name: yamllint |
||||||
|
image: cytopia/yamllint |
||||||
|
commands: |
||||||
|
- yamllint . |
||||||
|
|
||||||
|
- name: ansible-playbook syntax check |
||||||
|
image: cytopia/ansible |
||||||
|
commands: |
||||||
|
- ansible-galaxy install -r requirements.yml |
||||||
|
- ansible-playbook main.yml --syntax-check |
||||||
|
|
||||||
|
- name: ansible-lint |
||||||
|
image: cytopia/ansible-lint |
||||||
|
commands: |
||||||
|
- ansible-lint main.yml |
Loading…
Reference in new issue