X-Git-Url: https://git.realraum.at/?p=noc.git;a=blobdiff_plain;f=ansible%2Fhost_vars%2Ftorwaechter%2Fmain.yml;h=75e16de3a6e227d94ab48cd85392ea438ad1a4c2;hp=864a50d6eed27333176d6fff75499eb4897682b1;hb=d7d843d9ef7ca0807efd6f2a5f9d095fed7eb235;hpb=d15a9e06d1a1a1e893160906a5822309ec9e3380 diff --git a/ansible/host_vars/torwaechter/main.yml b/ansible/host_vars/torwaechter/main.yml index 864a50d..75e16de 100644 --- a/ansible/host_vars/torwaechter/main.yml +++ b/ansible/host_vars/torwaechter/main.yml @@ -1,5 +1,5 @@ --- -ssh_keys_tuergit: "{{ ssh_keys_root }}" +ssh_users_tuergit: "{{ user_groups.noc }}" openwrt_arch: x86 openwrt_target: geode @@ -61,13 +61,13 @@ openwrt_mixin: /etc/ssh/authorized_keys.d/root: content: |- - {% for key in ssh_keys_root %} + {% for key in ssh_users_root | user_ssh_keys(users) %} {{ key }} {% endfor %} /etc/ssh/authorized_keys.d/tuergit: content: |- - {% for key in ssh_keys_tuergit %} + {% for key in ssh_users_tuergit | user_ssh_keys(users) %} {{ key }} {% endfor %}