Fix newline added on authorized_keys

This commit is contained in:
Tunui Franken 2025-03-30 10:07:44 +02:00
parent bc81f72afb
commit e3a5f7ab7c

View file

@ -32,5 +32,5 @@
become_user: borg
ansible.builtin.lineinfile:
path: ~/.ssh/authorized_keys
line: "{{ ssh_pubkey.content | b64decode }}"
line: "{{ ssh_pubkey.content | b64decode | trim }}"
create: true