fix linters in github actions (#848) (#849)

This is a backport of PR #848 as merged into main (159a63a).
SUMMARY
After the release 25.0.0 of ansible-compat the linters in CI become failing. In the ansible-lint issue already created
COMPONENT NAME
.github/workflows/linters.yaml
ADDITIONAL INFORMATION
Fix bug #846
within this commit ansible/ansible-lint is updated to 24.12.2 and the ansible-lint config moved to the .config folder
This commit is contained in:
patchback[bot]
2025-01-17 15:52:51 +00:00
committed by GitHub
parent 8cee9fddbe
commit d3f6dd186c
3 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
# no-changed-when is not requried for examples
plugins/connection/kubectl.py no-changed-when

8
.config/ansible-lint.yml Normal file
View File

@@ -0,0 +1,8 @@
---
profile: production
exclude_paths:
- .ansible/
- tests/integration
- tests/unit
- tests/sanity