mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 12:30:19 +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>
14 lines
365 B
YAML
14 lines
365 B
YAML
---
|
|
__sshd_service: sshd
|
|
__sshd_packages:
|
|
- openssh-server
|
|
- openssh-sftp-server
|
|
__sshd_config_mode: "0644"
|
|
__sshd_sftp_server: "/usr/lib/sftp-server"
|
|
__sshd_defaults:
|
|
Subsystem: "sftp {{ __sshd_sftp_server }}"
|
|
AuthorizedKeysFile: .ssh/authorized_keys
|
|
HostKey:
|
|
- /etc/ssh/ssh_host_rsa_key
|
|
- /etc/ssh/ssh_host_ed25519_key
|
|
__sshd_os_supported: true
|