diff options
author | Michael Scherer <misc@redhat.com> | 2017-10-17 17:32:17 +0200 |
---|---|---|
committer | Michael Scherer <misc@redhat.com> | 2017-10-17 17:32:17 +0200 |
commit | ea632da72cdf6b85a07d9b7d7934c2821b749213 (patch) | |
tree | 6ff49f1bb6d682f4561b559b5bdbbdcc6105f2d9 | |
parent | 906fa1f1e4c62e173f9dfc8fdc8f3dd217dd743c (diff) |
Make sure that we remove the old keys
-rw-r--r-- | roles/admin_ssh_keys/tasks/main.yml | 1 |
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 |