Feat: add ansible-lint to the CI pipeline
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
parent
842debe8a5
commit
b49bd3620b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue