From 7d9902e89f0d15a2cbd5bfe071c301e738dba4e2 Mon Sep 17 00:00:00 2001
From: Simone Spinelli <simone.spinelli@geant.org>
Date: Mon, 8 Jan 2024 12:42:29 +0100
Subject: [PATCH] Change ansible-lint to exclude python files

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5e63f3b..d7c88b86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ ansible-lint:
     - python -m pip install jmespath
     - ansible-galaxy role install Juniper.junos
   script:
-    - ansible-lint -f codeclimate | python -m json.tool | tee "${CI_PROJECT_DIR}/codeclimate-results.json"
+    - ansible-lint --exclude .py -f codeclimate | python -m json.tool | tee "${CI_PROJECT_DIR}/codeclimate-results.json"
   artifacts:
     name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
     reports:
-- 
GitLab