ansible-playbooks/.ansible-lint
albailey c0db11934e 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>
2020-08-18 10:49:30 -05:00

31 lines
1.0 KiB
Plaintext

# exclude_paths:
parseable: true
quiet: false
# rulesdir:
# All errors below should be cleaned up in ansible and removed from the 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
- '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
- '303' # [E303] systemctl used in place of systemd module
- '305' # [E305] Use shell only when shell functionality is required
- '306' # [E306] Shells that use pipes should set the pipefail option
- '501' # [E501] become_user requires become to work as expected
- '502' # [502] All tasks should be named
- '504' # [E504] Do not use 'local_action', use 'delegate_to: localhost'
- '601' # [E601] Don't compare to literal True/False
- '602' # [E602] Don't compare to empty string
- '701' # [E701] No 'galaxy_info' found
# tags:
use_default_rules: true
verbosity: 1