Restructured role manage-ssh-keys
This commit is contained in:
9
roles/manage-ssh-keys/tasks/remove-badkeys.yml
Normal file
9
roles/manage-ssh-keys/tasks/remove-badkeys.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Bad Keys entfernen
|
||||
lineinfile:
|
||||
path: "{{ authorized_keys_file }}"
|
||||
line: "{{ item }}"
|
||||
state: absent
|
||||
with_items: "{{ bad_keys }}"
|
||||
notify:
|
||||
- Cleanup and add timestamp
|
||||
Reference in New Issue
Block a user