Add FreeBSD support
This commit is contained in:
parent
39045ed5a0
commit
22dd9bfb3d
6 changed files with 60 additions and 21 deletions
|
|
@ -65,6 +65,8 @@ AcceptEnv LANG LC_*
|
|||
# Log sftp level file access (read/write/etc.) that would not be easily logged otherwise.
|
||||
{% if ((override_os_family is defined) | ternary(override_os_family,ansible_os_family)) == 'Centos' %}
|
||||
Subsystem sftp /usr/libexec/openssh/sftp-server -f AUTHPRIV -l INFO
|
||||
{% elif ((override_os_family is defined) | ternary(override_os_family,ansible_os_family)) == 'FreeBSD' %}
|
||||
Subsystem sftp /usr/libexec/sftp-server
|
||||
{% else %}
|
||||
Subsystem sftp /usr/lib/openssh/sftp-server -f AUTHPRIV -l INFO
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue