add freebsd support, fix template
This commit is contained in:
parent
0df06810fc
commit
6e5f0d0726
3 changed files with 5 additions and 9 deletions
|
|
@ -19,7 +19,7 @@
|
|||
path: "{{ rootpath }}/root/.ssh"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
group: "{{root_group}}"
|
||||
mode: 0700
|
||||
|
||||
- name: write authorized_keys file for user root
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
src: ssh_root_authorized_keys.j2
|
||||
dest: "{{ rootpath }}/root/.ssh/authorized_keys"
|
||||
owner: root
|
||||
group: root
|
||||
group: "{{root_group}}"
|
||||
mode: 0600
|
||||
|
||||
- name: create ssh host keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue