Skip to content

Commit

Permalink
Fix ansible-lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
p3ck committed Nov 21, 2024
1 parent 324aea3 commit ab7b429
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .config/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
profile: production
strict: true
skip_list:
- meta-no-info # meta/main.yml should contain relevant info.
exclude_paths:
- ../molecule/webapp/converge.yml
- ../molecule/webapp/webapp.yml
33 changes: 33 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# Based on ansible-lint config
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable

0 comments on commit ab7b429

Please sign in to comment.