add filter plugin to generate ssh key list
[noc.git] / ansible / group_vars / accesspoints / main.yml
index 233b08a..51cd80a 100644 (file)
@@ -1,4 +1,8 @@
 ---
+ssh_users_root:
+  - equinox
+  - nicoo
+
 accesspoint_wifi_channels:
   2.4g:
     ap0: 3
@@ -142,11 +146,11 @@ openwrt_mixin:
 
   /etc/dropbear/authorized_keys:
     content: |-
-      {% for key in noc_ssh_keys %}
+      {% for key in ssh_users_root | user_ssh_keys(users) %}
       {{ key }}
       {% endfor %}
 
-  /root/.config/htop/htoprc:
+  /etc/htoprc:
     file: "{{ global_files_dir }}/common/htoprc"