lint: update ansible and lint for molecule lint matrix task

This commit is contained in:
2020-11-06 13:19:47 -03:00
parent 64ae425716
commit f771fb4dfd
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E
2 changed files with 24 additions and 6 deletions

View File

@ -1,3 +1,4 @@
---
warn_list:
- '106'
- '303'

View File

@ -1,3 +1,5 @@
---
# Based on ansible-lint config
extends: default
rules:
@ -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