Fix newline added on authorized_keys
This commit is contained in:
parent
bc81f72afb
commit
e3a5f7ab7c
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@
|
||||||
become_user: borg
|
become_user: borg
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: ~/.ssh/authorized_keys
|
path: ~/.ssh/authorized_keys
|
||||||
line: "{{ ssh_pubkey.content | b64decode }}"
|
line: "{{ ssh_pubkey.content | b64decode | trim }}"
|
||||||
create: true
|
create: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue