Skip to content

Commit

Permalink
fix: Configure yamllint to match ansible-lint
Browse files Browse the repository at this point in the history
Suggested by ansible-lint run; yamllint rules added so that valid
ansible is not flagged by yamllint, and to allow yamllint to be used
effectively by ansible-lint.
  • Loading branch information
memes committed Sep 12, 2024
1 parent f336f33 commit 57656e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ rules:
line-length:
max: 120
level: warning
# Force yamllint rules to match ansible-lint requirements
braces:
max-spaces-inside: 1
comments:
min-spaces-from-content: 1
comments-indentation: disable
octal-values:
forbid-explicit-octal: true
forbid-implicit-octal: true

0 comments on commit 57656e7

Please sign in to comment.