summaryrefslogtreecommitdiffstats
path: root/roles/admin_ssh_keys/tasks
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-10-17 17:32:17 +0200
committerMichael Scherer <misc@redhat.com>2017-10-17 17:32:17 +0200
commitea632da72cdf6b85a07d9b7d7934c2821b749213 (patch)
tree6ff49f1bb6d682f4561b559b5bdbbdcc6105f2d9 /roles/admin_ssh_keys/tasks
parent906fa1f1e4c62e173f9dfc8fdc8f3dd217dd743c (diff)
Make sure that we remove the old keys
Diffstat (limited to 'roles/admin_ssh_keys/tasks')
-rw-r--r--roles/admin_ssh_keys/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/admin_ssh_keys/tasks/main.yml b/roles/admin_ssh_keys/tasks/main.yml
index b696579..67bd6ce 100644
--- a/roles/admin_ssh_keys/tasks/main.yml
+++ b/roles/admin_ssh_keys/tasks/main.yml
@@ -13,6 +13,7 @@
authorized_key:
user: root
key: "{{ item }}"
+ state: absent
with_file:
- misc_nano_old.pub
- misc_tpm_old.pub