From 893d87a9e136d84fb41f9cf0c9cbfc8e36cf97c9 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Tue, 23 Feb 2021 23:02:51 +0100 Subject: [PATCH] Add ansible linting to the CI --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4ca3cd6..79c4b5f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,12 @@ linters: # Be nice to new contributors, but please use `tox` allow_failure: true +# Ansible linter +ansible-linter: + stage: quality-assurance + image: otthorn/nk20_ci_ansiblelint + script: ansible-lint ansible/ + # Compile documentation documentation: stage: docs