Add Subsystem to _ssd_defaults

The Subsystem entry was missing for FreeBSD OS, noticed this while provisioning a TrueNAS box. After the first provision ansible was unable to upload any files due to that missing setting. Tested this change by adjusting the role locally and rerunning it with a clean sshd_config on the remote side, worked fine.
This commit is contained in:
Michael Pardatscher 2021-01-27 15:52:21 +01:00 committed by Jakub Jelen
parent 032054b478
commit b2a48a4e4a

View file

@ -2,4 +2,6 @@
sshd_config_group: wheel
sshd_config_mode: "0644"
sshd_sftp_server: /usr/libexec/sftp-server
__sshd_defaults:
Subsystem: "sftp {{ sshd_sftp_server }}"
__sshd_os_supported: yes