sftpuser: Read ssh key from correct place
This commit is contained in:
parent
0a724359dc
commit
646aada779
2 changed files with 1 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
|||
- name: "Create authorized_keys for {{ user }}"
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/ssh/authorized_keys.{{ user }}"
|
||||
content: "{{ publickeys | join('\n') + '\n'}}"
|
||||
src: ../files/ssh/backup.pub
|
||||
mode: "0640"
|
||||
owner: root
|
||||
group: "{{ user }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue