mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 19:10:18 +01:00
70808e97fc
Use `true/false` instead of `yes/no` Ensure use of FQCN for builtin modules Use correct spacing in Jinja expressions All tasks and plays must have a `name`, and the `name` string must begin with an uppercase letter Use `ansible.posix.mount` instead of `ansible.builtin.mount` Use `set -o pipefail` with `shell` module where supported by the platform shell Signed-off-by: Rich Megginson <rmeggins@redhat.com>
23 lines
710 B
YAML
23 lines
710 B
YAML
---
|
|
__sshd_os_supported: true
|
|
|
|
__sshd_service: ssh
|
|
__sshd_packages:
|
|
- openssh-server
|
|
- openssh-sftp-server
|
|
# Ubuntu 22.04 finally ships with drop-in directory support so we touch
|
|
# just 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
|
|
KbdInteractiveAuthentication: false
|
|
UsePAM: true
|
|
AcceptEnv: LANG LC_*
|
|
Subsystem: "sftp /usr/lib/openssh/sftp-server"
|
|
|
|
__sshd_runtime_directory: /run/sshd
|
|
|
|
__sshd_drop_in_dir_mode: '0755'
|
|
__sshd_main_config_file: /etc/ssh/sshd_config
|