kolla-ansible/.ansible-lint
Mark Goddard 32f1b6cf56 ansible-lint: add unnamed-task to the skip list
The 5.0.3 release of ansible-lint makes the linters job fail, due to the
addition of an unnamed-task rule. We have quite a large number of
unnamed tasks, typically include_tasks or include_role. We may want to
address this at some point, but not right now.

Change-Id: I4ee706fe2463d62e4e16412117d4373748ea43e3
2021-03-11 09:10:16 +00:00

21 lines
747 B
Plaintext

use_default_rules: true
skip_list:
# [E701] galaxy_info missing in metadata
- '701'
# [E602] https://github.com/ansible/ansible-lint/issues/457
- '602'
# [E301] Commands should not change things if nothing needs doing
# TODO(mnasiadka): Fix tasks that fail this check in a later iteration
- '301'
# [E503] Tasks that run when changed should likely be handlers
# TODO(mnasiadka): Rework baremetal role to do handlers instead of when: *.changed
- '503'
# [E106] Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
- '106'
# [E208] permissions not mentioned
# FIXME(mnasiadka): Rework file/template to include permissions
- '208'
# [unnamed-task] All tasks should be named
# FIXME(mgoddard): Add names to all tasks
- unnamed-task