40 lines
834 B
Plaintext
40 lines
834 B
Plaintext
---
|
|
extends: default
|
|
|
|
rules:
|
|
# Allow longer lines for readability in tasks
|
|
line-length:
|
|
max: 160
|
|
level: warning
|
|
|
|
# Allow both true/false and yes/no boolean styles
|
|
truthy:
|
|
allowed-values: ['true', 'false', 'yes', 'no']
|
|
check-keys: false
|
|
|
|
# Ansible uses double-bracket Jinja2 - allow in strings
|
|
braces:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
|
|
# Allow some indentation flexibility for Ansible block style
|
|
indentation:
|
|
spaces: 2
|
|
indent-sequences: true
|
|
check-multi-line-strings: false
|
|
|
|
# Comments should have a space after #
|
|
comments:
|
|
min-spaces-from-content: 1
|
|
|
|
# Don't require document-start marker on every file
|
|
document-start: disable
|
|
|
|
ignore: |
|
|
roles/geerlingguy.*
|
|
roles/oatakan.*
|
|
roles/ikke_t.*
|
|
roles/sage905.*
|
|
.ansible/
|
|
collections/ansible_collections/
|