2022-01-28 16:49:15 +01:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: Set authorized key taken from file
|
|
|
|
become: yes
|
|
|
|
ansible.posix.authorized_key:
|
|
|
|
user: mg
|
|
|
|
state: present
|
2022-07-02 13:20:21 +02:00
|
|
|
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKL8opSQ0rWVw9uCfbuiqmXq188OP4xh66MBTO3zV5jo heimserver_mg_v3
|
2022-01-28 16:49:15 +01:00
|
|
|
exclusive: true #entferne alle keys bis auf diesen
|