From b49bd3620b18da6e087467c9911cae9a55daf47c Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Sun, 3 Mar 2019 19:06:33 +0100 Subject: [PATCH] Feat: add ansible-lint to the CI pipeline Signed-off-by: Hadrien Patte --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cf864e..5af274e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,14 @@ --- image: quay.io/ansible/molecule:2.19 +stages: + - lint + yamllint: + stage: lint script: yamllint -c .yamllint.yml . + +ansible-lint: + stage: lint + script: ansible-lint *.yml ...