From ea632da72cdf6b85a07d9b7d7934c2821b749213 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 17 Oct 2017 17:32:17 +0200 Subject: Make sure that we remove the old keys --- roles/admin_ssh_keys/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles') 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 -- cgit