From 11e328a847909ff80a2c215d8e248d565cb914b1 Mon Sep 17 00:00:00 2001 From: saibotk Date: Sat, 2 Jan 2021 02:40:57 +0100 Subject: [PATCH] CI: Add ansible-lint step --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8e78adb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +--- +stages: + - lint + +ansible-lint: + stage: lint + image: docker.io/library/fedora:33 + before_script: + - dnf install -y ansible-lint + script: + - ansible-lint *.yml