Add relaxed yamllint config and fix errors
This commit is contained in:
parent
4131825286
commit
166c67477b
6 changed files with 24 additions and 8 deletions
19
.yamllint
Normal file
19
.yamllint
Normal 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
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
line: secret "{{f_key_pair.stdout_lines[0] |regex_replace('^Secret. ','')}}";
|
line: secret "{{f_key_pair.stdout_lines[0] |regex_replace('^Secret. ','')}}";
|
||||||
mode: 0400
|
mode: 0400
|
||||||
regexp: '^secret ".*";'
|
regexp: '^secret ".*";'
|
||||||
state : present
|
state: present
|
||||||
|
|
||||||
- name: write out fastd public key - {{mf_com.abbreviation}}
|
- name: write out fastd public key - {{mf_com.abbreviation}}
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
line: key "{{f_key_pair.stdout_lines[1] |regex_replace('^Public. ','')}}";
|
line: key "{{f_key_pair.stdout_lines[1] |regex_replace('^Public. ','')}}";
|
||||||
mode: 0440
|
mode: 0440
|
||||||
regexp: '^key ".*";'
|
regexp: '^key ".*";'
|
||||||
state : present
|
state: present
|
||||||
register: f_pub_key
|
register: f_pub_key
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -26,4 +26,3 @@
|
||||||
state: started
|
state: started
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue