Compare commits

..

1 Commits

Author SHA1 Message Date
9a97498b7b
users: manage ssh authorised keys
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-19 15:09:18 +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 %}