# https://ansible-lint.readthedocs.io/configuring/#specifying-configuration-files

# profile:  min, basic, moderate,safety, shared, production
# profile: production  # Removed to rely on command-line specification

use_default_rules: true

# Exclude paths to improve performance
exclude_paths:
  - .cache/
  - .git/
  - .github/
  - .ansible/
  - venv-py311/
  - node_modules/
  - __pycache__/
  - changelogs/
  - docs/
  # Exclude external dependency roles that we installed
  - roles/linux-system-roles.network/
  - roles/linux-system-roles.storage/
  # Exclude molecule prepare files (test setup files with relaxed standards)
  - molecule/*/prepare.yml
  - molecule/*/converge.yml
  - molecule/*/verify.yml

skip_list:
  - var-naming
  - command-instead-of-module
  - risky-file-permissions

# Ansible-lint does not fail on warnings from the rules or tags listed below
warn_list:
  - experimental # experimental is included in the implicit list
  - var-naming[no-role-prefix] #
  # - role-name
  # - yaml[document-start]  #
