feat(openssh): add ansible role

This commit is contained in:
2025-04-26 20:07:43 +02:00
parent e27eb145f1
commit 115cfa8236
11 changed files with 136 additions and 0 deletions

13
roles/openssh/README.md Normal file
View File

@ -0,0 +1,13 @@
# `finallycoffee.base.openssh`
Ansible role to manage and configure openssh and it's components (like `sshd`).
Currently supports `fedora` and `debian` linux distributions.
## `sshd`
To configure `sshd`, see the [`defaults/main/sshd.yml`](defaults/main/sshd.yml),
where snake\_cased config keys for `/etc/ssh/sshd_config` are available in
the `openssh_sshd_config_` namespace.
To add your own config on top, simply use key-value syntax in `openssh_sshd_config`.