Refactor default ssh keys

This commit is contained in:
Tobias Reisinger 2026-11-08 19:12:01 +01:00
commit acbc38aa8a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -0,0 +1,6 @@
- name: Set authorized keys for ansible
ansible.posix.authorized_key:
user: ansible
exclusive: true
key: "{{ opentofu.ssh_keys.values() | join('\n') }}"
become: true