Feat: add ansible-lint to the CI pipeline

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-03 19:06:33 +01:00
parent 842debe8a5
commit b49bd3620b
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1

View file

@ -1,6 +1,14 @@
--- ---
image: quay.io/ansible/molecule:2.19 image: quay.io/ansible/molecule:2.19
stages:
- lint
yamllint: yamllint:
stage: lint
script: yamllint -c .yamllint.yml . script: yamllint -c .yamllint.yml .
ansible-lint:
stage: lint
script: ansible-lint *.yml
... ...