homeserver/playbooks/on-off/remove_old_ssh_key.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

13 lines
357 B
YAML

---
- hosts: all
become: true
tasks:
- name: Set authorized key taken from file
become: true
ansible.posix.authorized_key:
user: ansible-user
state: present
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
exclusive: true #entferne alle keys bis auf diesen