forked from jens/ansible-role-drone
Add '.drone.yml'
This commit is contained in:
parent
46db3b12b2
commit
fc6f7349f5
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: install dependencies
|
||||
commands:
|
||||
- dnf install -y ansible python3-ansible-lint findutils
|
||||
- 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"
|
Loading…
Reference in New Issue