Skip to content

Commit

Permalink
lint: update ansible and lint for molecule lint matrix task
Browse files Browse the repository at this point in the history
  • Loading branch information
neonmei committed Nov 6, 2020
1 parent 64ae425 commit f771fb4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
warn_list:
- '106'
- '303'
29 changes: 23 additions & 6 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# Based on ansible-lint config
extends: default

rules:
Expand All @@ -7,10 +9,25 @@ rules:
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
# NOTE(retr0h): Templates no longer fail this lint rule.
# Uncomment if running old Molecule templates.
# truthy: disable
ignore: |
.travis.yml
config.yml
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable

0 comments on commit f771fb4

Please sign in to comment.