Files
operating-automation/roles/manage-ssh-keys/tasks/remove-badkeys.yml
2024-11-21 16:05:54 +01:00

9 lines
197 B
YAML

---
- name: Bad Keys entfernen
lineinfile:
path: "{{ authorized_keys_file }}"
line: "{{ item }}"
state: absent
with_items: "{{ bad_keys }}"
notify:
- Cleanup and add timestamp