Add relaxed yamllint config and fix errors

This commit is contained in:
n0trax 2017-09-08 17:17:26 +02:00 committed by Tobias Hachmer
parent 4131825286
commit 166c67477b
6 changed files with 24 additions and 8 deletions

19
.yamllint Normal file
View file

@ -0,0 +1,19 @@
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: enable
truthy: disable

View file

@ -125,4 +125,3 @@
# remote_src: True # though remote equals local ... # remote_src: True # though remote equals local ...
# delegate_to: 127.0.0.1 # local action # delegate_to: 127.0.0.1 # local action
# register: primcopy # register: primcopy

View file

@ -9,4 +9,3 @@ repos:
- name: freifunk - name: freifunk
repo: 'deb-src http://repo.freifunk-mwu.de/debian jessie main' repo: 'deb-src http://repo.freifunk-mwu.de/debian jessie main'
update_cache: yes update_cache: yes

View file

@ -26,4 +26,3 @@
state: started state: started
daemon_reload: yes daemon_reload: yes
become: true become: true