Compare commits

..

1 Commits

Author SHA1 Message Date
f8fa65f715
users: manage ssh authorised keys
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-19 15:08:02 +01:00

View File

@ -18,7 +18,7 @@
{%- endif %} {%- endif %}
ssh_auth.manage: ssh_auth.manage:
- user: {{ name }} - user: {{ name }}
{%- if user['ssh-keys'] is defined %} {%- if user.ssh-keys is defined %}
- ssh_keys: {{ user['ssh-keys']|json }} - ssh_keys: {{ user.ssh-keys|json }}
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}