ansible-role-drone/.drone.yml
jens c83d484fd5
All checks were successful
continuous-integration/drone/push Build is passing
Update '.drone.yml'
2020-10-26 09:51:39 +00:00

14 lines
570 B
YAML

---
kind: pipeline
type: exec
name: default
steps:
- name: install dependencies
commands:
- dnf install -y python3 findutils
- pip3 install -U ansible-lint
- name: syntax check
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks"
- name: ansibel lint
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint"