You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
422 B
21 lines
422 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: Lint
|
|
|
|
steps:
|
|
- name: yamllint
|
|
image: cytopia/yamllint
|
|
commands:
|
|
- yamllint --strict .
|
|
|
|
- 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
|
|
|