Ansible-lint and yamllint #32

Merged
Ghost merged 16 commits from linting into dev 2020-06-08 17:14:32 +02:00
Showing only changes of commit a6213719ae - Show all commits

11
.drone.yml Normal file
View file

@ -0,0 +1,11 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: lint ansible scripts
image: pipelinecomponents/ansible-lint:latest
commands:
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks"
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint"