---
# yamllint configuration compatible with ansible-lint
extends: default

rules:
  line-length:
    max: 120
    level: warning
  indentation:
    spaces: 2
    indent-sequences: true
  comments:
    min-spaces-from-content: 1
  comments-indentation: disable
  document-start: disable
  truthy:
    allowed-values: ['true', 'false', 'yes', 'no']
  braces:
    max-spaces-inside: 1
  octal-values:
    forbid-implicit-octal: true
    forbid-explicit-octal: true

ignore: |
  .venv/
  .molecule/
  .cache/
  .git/
  .ansible/
  collections/
  _temp/
  playbooks/
  node_modules/
  *.tar.gz
  .github/
  docs/
