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
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
- name: retrieve install iso
|
||||
get_url:
|
||||
get_url:
|
||||
checksum: "sha1:23dde0f195170d9fbe99547f9df75838acc95b5e"
|
||||
dest: "{{ vm_path }}/debian-8.6.0-amd64-i386-netinst.iso"
|
||||
force: no
|
||||
|
@ -24,7 +24,7 @@
|
|||
loop_control:
|
||||
loop_var: lri_item
|
||||
delegate_to: 127.0.0.1 # local action
|
||||
|
||||
|
||||
- name: manual intervention 1 - extract configs
|
||||
debug:
|
||||
msg: |
|
||||
|
@ -125,4 +125,3 @@
|
|||
# remote_src: True # though remote equals local ...
|
||||
# delegate_to: 127.0.0.1 # local action
|
||||
# register: primcopy
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
- hosts: ff-servers
|
||||
remote_user: admin
|
||||
roles:
|
||||
roles:
|
||||
- prerequisites
|
||||
- ffmwu-server
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
line: secret "{{f_key_pair.stdout_lines[0] |regex_replace('^Secret. ','')}}";
|
||||
mode: 0400
|
||||
regexp: '^secret ".*";'
|
||||
state : present
|
||||
state: present
|
||||
|
||||
- name: write out fastd public key - {{mf_com.abbreviation}}
|
||||
lineinfile:
|
||||
|
@ -50,7 +50,7 @@
|
|||
line: key "{{f_key_pair.stdout_lines[1] |regex_replace('^Public. ','')}}";
|
||||
mode: 0440
|
||||
regexp: '^key ".*";'
|
||||
state : present
|
||||
state: present
|
||||
register: f_pub_key
|
||||
ignore_errors: True
|
||||
|
||||
|
|
|
@ -9,4 +9,3 @@ repos:
|
|||
- name: freifunk
|
||||
repo: 'deb-src http://repo.freifunk-mwu.de/debian jessie main'
|
||||
update_cache: yes
|
||||
|
||||
|
|
|
@ -26,4 +26,3 @@
|
|||
state: started
|
||||
daemon_reload: yes
|
||||
become: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue