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 %}
ssh_auth.manage:
- user: {{ name }}
{%- if user['ssh-keys'] is defined %}
- ssh_keys: {{ user['ssh-keys']|json }}
{%- if user.ssh-keys is defined %}
- ssh_keys: {{ user.ssh-keys|json }}
{%- endif %}
{%- endfor %}