tenks/.ansible-lint
Mark Goddard e47ff6bd82 Use jinja2.pass_context instead of contextfilter
Jinja2 3.0.0 deprecated contextfilter in favour of pass_context. 3.1.0
dropped contextfilter.

Fall back to contextfilter for Jinja2 2.x.

This change also fixes some issues caused by Ansible lint 6.0. Issues
found by the yaml plugin are fixed, while the FQCN for builtin actions
plugin is skipped.

Change-Id: I97b25551eb26da2c9100120bcd646c88fdb33ba6
2022-03-29 12:36:52 +01:00

9 lines
303 B
Plaintext

skip_list:
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
warn_list:
- no-changed-when
- command-instead-of-shell # Use shell only when shell functionality is required
- experimental # all rules tagged as experimental
- fqcn-builtins # Use FQCN for builtin actions.