Fix zuul failures from new release of ansible-lint

ansible-lint 4.3.0 was just released Aug 18, 2020 and
introduced new checks that the existing code fails.

This blocks any ansible reviews from merging.

The new checks which are now being suppressed:
  106 Role name does not match pattern
  208 File permissions not mentioned

The ansible code can be updated in a future submission
to satisy these checks if desired.

Change-Id: I7fdfe1537420b2358110cab176c3734007830e70
Closes-Bug: 1892065
Signed-off-by: albailey <Al.Bailey@windriver.com>
This commit is contained in:
albailey 2020-08-18 10:49:30 -05:00
parent a0682c7c24
commit c0db11934e

View File

@ -2,14 +2,16 @@
parseable: true parseable: true
quiet: true quiet: false
# rulesdir: # rulesdir:
# All errors below should be cleaned up in ansible and removed from the skip_list # All errors below should be cleaned up in ansible and removed from the skip_list
skip_list: skip_list:
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
- '204' # [E204] Lines should be no longer than 160 chars - '204' # [E204] Lines should be no longer than 160 chars
- '206' # [E206] Variables should have spaces before and after: {{ var_name } - '206' # [E206] Variables should have spaces before and after: {{ var_name }
- '208' # [E208] File permissions not mentioned
- '301' # [E301] Commands should not change things if nothing needs doing - '301' # [E301] Commands should not change things if nothing needs doing
- '303' # [E303] systemctl used in place of systemd module - '303' # [E303] systemctl used in place of systemd module
- '305' # [E305] Use shell only when shell functionality is required - '305' # [E305] Use shell only when shell functionality is required