From d2e0cad90bd77e562c3ed60b79092c3e2599b52e Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed, 6 Dec 2023 15:21:05 -0300
Subject: [PATCH] Bump minimum ansible-lint version to 6.22

By the first quarter of 2024, all collections must pass ansible-lint
tests run with version 6.22.x. This PR ensure that all ansible-freeipa
tests depending on ansible-lint use a valid version of it.
---
 .github/workflows/lint.yml | 2 +-
 requirements-dev.txt       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0ac56e62..849d9a1d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,7 +16,7 @@ jobs:
           python-version: "3.x"
       - name: Run ansible-lint
         run: |
-          pip install "ansible-core>=2.16,<2.17" 'ansible-lint>=6.21'
+          pip install "ansible-core>=2.16,<2.17" 'ansible-lint>=6.22'
           utils/build-galaxy-release.sh -ki
           cd .galaxy-build
           ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 501c0079..5df0f433 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -7,4 +7,4 @@ pylint==2.17.2
 wrapt==1.14.1
 pydocstyle==6.3.0
 yamllint==1.32.0
-ansible-lint
+ansible-lint >= 6.22
-- 
GitLab