You've already forked ssh-protect
chore: fix ssh keys write
This commit is contained in:
@@ -5,11 +5,10 @@
|
||||
attr: '-i'
|
||||
|
||||
- name: Write ssh keys
|
||||
copy:
|
||||
content: "item"
|
||||
template:
|
||||
src: "authorized_keys.j2"
|
||||
dest: "/root/.ssh/authorized_keys"
|
||||
mode: 0600
|
||||
with_items: "{{ ssh_protect_root_public_keys }}"
|
||||
|
||||
- name: Setup i attr in authorized_keys file
|
||||
file:
|
||||
|
||||
Reference in New Issue
Block a user