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.
22 lines
413 B
22 lines
413 B
3 years ago
|
---
|
||
|
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
|