projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nicer template to generate authorized keys for openwrt
[noc.git]
/
ansible
/
group_vars
/
accesspoints
/
main.yml
diff --git
a/ansible/group_vars/accesspoints/main.yml
b/ansible/group_vars/accesspoints/main.yml
index
51cd80a
..
7147bbd
100644
(file)
--- a/
ansible/group_vars/accesspoints/main.yml
+++ b/
ansible/group_vars/accesspoints/main.yml
@@
-145,10
+145,7
@@
openwrt_mixin:
net.ipv6.conf.all.forwarding=0
/etc/dropbear/authorized_keys:
net.ipv6.conf.all.forwarding=0
/etc/dropbear/authorized_keys:
- content: |-
- {% for key in ssh_users_root | user_ssh_keys(users) %}
- {{ key }}
- {% endfor %}
+ content: "{{ ssh_users_root | user_ssh_keys(users) | join('\n') }}\n"
/etc/htoprc:
file: "{{ global_files_dir }}/common/htoprc"
/etc/htoprc:
file: "{{ global_files_dir }}/common/htoprc"