diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 28d20c16f1930cb66868d5e4307c4aa10511bfe6..1b426f6a5f5fa48cfdd76d30fae5bbac343473b6 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.15,<2.16" ansible-lint
+          pip install "ansible-core >=2.15,<2.16" 'ansible-lint<6.21'
           utils/build-galaxy-release.sh -ki
           cd .galaxy-build
           ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor