Files
deploy_home/.drone.yml
2020-09-25 14:32:44 -04:00

17 lines
353 B
YAML

kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm
steps:
- name: lint
image: bdebyl/yamllint
command:
- export YML_FILES="$(find $PWD/ansible/ -name '*.yml' -not -name '*vault*')"
- source "$PWD/.lint-vars.sh"
- ansible-lint -x "$ANSIBLE_LINT_SKIP_LIST" "$YML_FILES"
- yamllint "$YML_FILES"