From 53677fce762602692614dd6fabb5851b39cd0073 Mon Sep 17 00:00:00 2001 From: Greg Harvey Date: Mon, 6 Oct 2025 17:08:29 +0200 Subject: [PATCH] Trying an ansible-lint container for GitLab. --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..1fb02f73f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +--- +before_script: + - export $BASH_VARS + +stages: + - linting + +ansible-lint: + stage: linting + image: registry.gitlab.com/pipeline-components/ansible-lint:latest + script: + - ansible-lint --show-relpath roles