add freebsd support, fix template

This commit is contained in:
nd 2019-06-25 22:24:46 +01:00
parent 0df06810fc
commit 6e5f0d0726
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 5 additions and 9 deletions

View file

@ -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