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

@ -16,4 +16,9 @@
{%- if user.shell is defined %}
- shell: {{ user.shell }}
{%- endif %}
ssh_auth.manage:
- user: {{ name }}
{%- if user.ssh-keys is defined %}
- ssh_keys: {{ user.ssh-keys|json }}
{%- endif %}
{%- endfor %}