ansible/.drone.yml

21 lines
451 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: check
steps:
- name: yamllint
image: python:3.9-alpine
commands:
2021-02-16 03:47:39 +01:00
- 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"
- pip install "ansible>=2.10,<2.11"
- ansible-lint
...