From 82b585796083d95790dbd1685fc0cdebe1d6cf3f Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Tue, 24 Aug 2021 10:17:59 -0300
Subject: [PATCH] ansible-lint: Add paths and files to exclude list.

Some YAML files used in the project are not Ansible playbooks and
should not be evaluated by ansible-lint. This change add the paths
and files that should not be evaluated to an exclude list, that
affects linter operations in CI and pre-commit scripts.
---
 .ansible-lint | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/.ansible-lint b/.ansible-lint
index b5f26cad..4db98b76 100644
--- a/.ansible-lint
+++ b/.ansible-lint
@@ -1,7 +1,14 @@
 exclude_paths:
-  - roles
-  - .tox
-  - .venv
+  - .ansible-freeipa-tests/
+  - .cache/
+  - .github/
+  - .pre-commit-config.yaml
+  - .tox/
+  - .venv/
+  - .yamllint
+  - molecule/
+  - tests/azure/
+
 
 parseable: true
 
-- 
GitLab