superlint/TEMPLATES/.ansible-lint.yml
2024-08-15 10:21:26 +02:00

54 lines
1.2 KiB
YAML

---
##########################
##########################
## Ansible Linter rules ##
##########################
##########################
#############################
# Exclude paths from linter #
#############################
# exclude_paths:
########################
# 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
- "unnamed-task" # Allow tasks without a name
- "yaml" # Disable YAML linting since it's done by yamllint
##################
# Tags to follow #
##################
# tags:
#############
# Use rules #
#############
use_default_rules: true
#################
# Set verbosity #
#################
verbosity: 1