|
|
@@ -278,6 +278,18 @@ users_ssh_auth_source_{{ name }}_{{ loop.index0 }}: |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if 'ssh_auth_sources.absent' in user %} |
|
|
|
{% for pubkey_file in user['ssh_auth_sources.absent'] %} |
|
|
|
users_ssh_auth_source_{{ name }}_{{ loop.index0 }}: |
|
|
|
ssh_auth.absent: |
|
|
|
- user: {{ name }} |
|
|
|
- source: {{ pubkey_file }} |
|
|
|
- require: |
|
|
|
- file: users_{{ name }}_user |
|
|
|
- user: users_{{ name }}_user |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if 'ssh_auth.absent' in user %} |
|
|
|
{% for auth in user['ssh_auth.absent'] %} |
|
|
|
users_ssh_auth_delete_{{ name }}_{{ loop.index0 }}: |