12 lines
352 B
YAML
12 lines
352 B
YAML
---
|
|
- hosts: all
|
|
become: yes
|
|
|
|
tasks:
|
|
- name: Set authorized key taken from file
|
|
become: yes
|
|
ansible.posix.authorized_key:
|
|
user: mg
|
|
state: present
|
|
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKL8opSQ0rWVw9uCfbuiqmXq188OP4xh66MBTO3zV5jo heimserver_mg_v3
|
|
exclusive: true #entferne alle keys bis auf diesen
|