ansible/.drone.yml

20 lines
430 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: check
steps:
- name: yamllint
image: python:3.9-alpine
commands:
- pip install yamllint>=1.26.0,<2.0
- yamllint -c .yamllint.yml .
- name: ansible-lint
image: python:3.9-alpine
commands:
- apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
- pip install ansible-lint==5.0.0 ansible-base>=2.10,<2.11
- ansible-lint
...