Let ansible-lint check Jinja syntax in role tasks again

The skip list has disabled no-jinja-nesting since 2022. ansible-lint
v6.6.0 replaced that rule with jinja[invalid], and ansible-lint still
maps the old name to it, so the skip now turns off the Jinja syntax
check for tasks in roles/custom, the only path the ansible-lint hook
lints. Remove the skip.

roles/custom has no jinja[invalid] findings at this commit. A syntax
error planted in a task's arguments is reported with this change and
not without it; one planted in a role's defaults file is not reported
either way.
This commit is contained in:
QEDeD
2026-10-19 09:09:12 +03:00
committed by Slavi Pantaleev
parent 7b44e13276
commit 9c6c53e199
-1
View File
@@ -9,7 +9,6 @@ use_default_rules: true
skip_list:
- unnamed-task
- no-handler
- no-jinja-nesting
- schema
- command-instead-of-shell
- role-name