Fixing Conflicting ID
Fixing my previous change which errors in a particular scenario. Error: Conflicting ID 'users_ssh_auth_source_username_0' when keys are added and removed simultaneously.
This commit is contained in:
parent
9c6e829e1e
commit
8f4bbf58f1
@ -280,7 +280,7 @@ users_ssh_auth_source_{{ name }}_{{ loop.index0 }}:
|
||||
|
||||
{% if 'ssh_auth_sources.absent' in user %}
|
||||
{% for pubkey_file in user['ssh_auth_sources.absent'] %}
|
||||
users_ssh_auth_source_{{ name }}_{{ loop.index0 }}:
|
||||
users_ssh_auth_source_delete_{{ name }}_{{ loop.index0 }}:
|
||||
ssh_auth.absent:
|
||||
- user: {{ name }}
|
||||
- source: {{ pubkey_file }}
|
||||
|
Loading…
Reference in New Issue
Block a user