users: manage ssh authorised keys
Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
6d843a0b65
commit
9a97498b7b
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user