Updated lint commands for CI

This commit is contained in:
Bastian de Byl
2020-09-25 14:22:54 -04:00
parent 86b6f02b96
commit f97ab7e6f3
3 changed files with 13 additions and 9 deletions

View File

@@ -8,8 +8,9 @@ platform:
steps:
- name: lint
image: cytopia/ansible-lint
image: bdebyl/yamllint
command:
- export YML_FILES="$(find ansible/ -name '*.yml' -not -name '*vault*')"
- ansible-lint -x 701 "$YML_FILES"
- . .lint-vars.sh
- ansible-lint -x "$ANSIBLE_LINT_SKIP_LIST" "$YML_FILES"
- yamllint "$YML_FILES"