Add Ansible code bot config file #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
########################## | |
########################## | |
## Ansible Linter rules ## | |
########################## | |
########################## | |
############################# | |
# Exclude paths from linter # | |
############################# | |
exclude_paths: | |
- '.github/*' | |
- '.ansible-lint.yml' | |
- '.yaml-lint.yml' | |
- 'super-linter.yml' | |
######################## | |
# Make output parsable # | |
######################## | |
parseable: true | |
####################### | |
# Set output to quiet # | |
####################### | |
quiet: true | |
##################### | |
# Path to rules dir # | |
##################### | |
#rulesdir: | |
################ | |
# Tags to skip # | |
################ | |
skip_list: | |
- 'empty-string-compare' # Allow compare to empty string | |
- '204' # Allow string length greater than 160 chars | |
- 'no-changed-when' # False positives for running command shells | |
- 'command-instead-of-module' # Allow git commands for push, add, etc... | |
- 'command-instead-of-shell' # Allow use of shell when you want | |
- 'no-handler' # Allow step to run like handler | |
- 'git-latest' # Allow for newest git version | |
- 'package-latest' # Allow newest package version | |
- 'yaml' # skip yaml and check that with yaml lint itself | |
################## | |
# Tags to follow # | |
################## | |
#tags: | |
############# | |
# Use rules # | |
############# | |
use_default_rules: true | |
enable_list: | |
- fqcn-builtins # opt-in | |
- no-log-password # opt-in | |
################# | |
# Set verbosity # | |
################# | |
verbosity: 1 | |
... |