From 8f4bbf58f1605a68c1a6d2ab9d22f6c59cf69158 Mon Sep 17 00:00:00 2001 From: Ashok Raja R Date: Fri, 7 Jul 2017 22:51:48 +0530 Subject: [PATCH] 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. --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 3d31967..0f3cd70 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 }}