ssh.role/defaults/main.yml
2024-09-17 00:49:08 +02:00

13 lines
373 B
YAML

---
# defaults file for ssh
ssh_users:
- name: USER
state: present
keys:
- key: "PUBLIC KEY 1"
- key: "PUBLIC KEY 2"
- key: "PUBLIC KEY n"
# If set to true, the loop overwrites existing keys in authorized_keys
# and overwrites the keys from "keys" one after the other
# only the last key in the list is retained
exclusive: false