Feat: update ansible-lint to version 4.0.0

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-03 19:15:15 +01:00
parent 5c5195cc2c
commit 4555ca782b
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1

View file

@ -1,14 +1,18 @@
--- ---
image: quay.io/ansible/molecule:2.19 image: python:3.6
stages: stages:
- lint - lint
yamllint: yamllint:
stage: lint stage: lint
script: yamllint -c .yamllint.yml . script:
- pip install yamllint==1.15.0
- yamllint -c .yamllint.yml .
ansible-lint: ansible-lint:
stage: lint stage: lint
script: ansible-lint *.yml script:
- pip install ansible-lint==4.0.0
- ansible-lint *.yml
... ...