mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-28 13:50:17 +01:00
f6ae2094fe
Specifics:
* Debian 12 has no longer the instantiated service using inet, see the
following commit:
0dc73888bb
* I am not matching the Description tag verbosely as I do not find it
crucial for functionality.
* We generate additional -f switch to the sshd CLI pointing go the main
sshd config we manage
* The Before=sshd.service in the socket is not generated as I find it
unnecessary when we conflict the service.
* Recent Ubuntu versions have RuntimeDirectoryPreserve option, which I
set for all Ubuntu/Debian as it should not hurt.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
31 lines
971 B
YAML
31 lines
971 B
YAML
---
|
|
__sshd_os_supported: true
|
|
|
|
__sshd_service: ssh
|
|
__sshd_packages:
|
|
- openssh-server
|
|
- openssh-sftp-server
|
|
# Ubuntu 20.04 backported support for drop-in directory so we touch
|
|
# just the included file with highest priority by default
|
|
__sshd_config_file: /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
|
__sshd_config_mode: "0644"
|
|
# the defaults here represent the defaults shipped in the main sshd_config
|
|
__sshd_defaults:
|
|
Include: /etc/ssh/sshd_config.d/*.conf
|
|
ChallengeResponseAuthentication: false
|
|
UsePAM: true
|
|
X11Forwarding: true
|
|
PrintMotd: false
|
|
AcceptEnv: LANG LC_*
|
|
Subsystem: "sftp /usr/lib/openssh/sftp-server"
|
|
|
|
__sshd_runtime_directory: sshd
|
|
|
|
__sshd_drop_in_dir_mode: '0755'
|
|
__sshd_main_config_file: /etc/ssh/sshd_config
|
|
|
|
__sshd_environment_file: /etc/default/ssh
|
|
__sshd_environment_variable: $SSHD_OPTS
|
|
# the defaults here represent the defaults shipped in the main sshd_config
|
|
__sshd_service_after: auditd.service
|
|
__sshd_service_alias: sshd
|