1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

improve yaml linting

This commit is contained in:
L3D 2021-01-31 16:50:41 +01:00
parent 31a004b77e
commit 8dbad0934d
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 35 additions and 34 deletions

1
.github/FUNDING.yml vendored
View file

@ -1,3 +1,4 @@
---
# These are supported funding model platforms # These are supported funding model platforms
github: [do1jlr] github: [do1jlr]

View file

@ -4,11 +4,11 @@ extends: default
rules: rules:
# 150 chars should be enough, but don't fail if a line is longer # 150 chars should be enough, but don't fail if a line is longer
line-length: line-length:
max: 150 max: 180
level: warning level: warning
commas:
max-spaces-before: 0
min-spaces-after: 0
braces:
max-spaces-inside: 1
ignore: |
host_vars/mail01.l3d.space/vault.yml
host_vars/web01.l3d.space/vault.yml
group_vars/all/vault.yml
roles/

View file

@ -46,4 +46,4 @@
- {role: do1jlr.mailserver_preperation, tags: [mail, mailserver_preperation, prep, mailserver]} - {role: do1jlr.mailserver_preperation, tags: [mail, mailserver_preperation, prep, mailserver]}
- {role: do1jlr.dovecot, tags: [mail, dovecot, mailserver_dovecot]} - {role: do1jlr.dovecot, tags: [mail, dovecot, mailserver_dovecot]}
- {role: postfix, tags: [mail, postfix]} - {role: postfix, tags: [mail, postfix]}
- { role: do1jlr.rspamd, tags: [mail,rspamd,dcim]} - {role: do1jlr.rspamd, tags: [mail, rspamd]}