updated users state
This commit is contained in:
parent
bc9f791639
commit
07b1e80101
@ -3,12 +3,12 @@
|
||||
|
||||
{%- for username, user in users.items() %}
|
||||
{%- if user.sshkeys is defined %}
|
||||
{%- for key in user.sshkeys %}
|
||||
ssh-key-{{ username }}-{{ key.name }}:
|
||||
ssh_auth.{{ key.state }}:
|
||||
{%- for name, sshkey in user.sshkeys.items() %}
|
||||
ssh-key-{{ username }}-{{ name }}:
|
||||
ssh_auth.{{ sshkey.state }}:
|
||||
- user: {{ username }}
|
||||
- names:
|
||||
- {{ key.value }}
|
||||
- {{ sshkey.value }}
|
||||
- require:
|
||||
- user: user-{{ username }}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user