roles/sshd: Configure OpenSSH daemon

The *sshd* role can be used to configure the OpenSSH daemon. It supports
configuring a few options globally, as well as a limited set of options
in `Match` blocks (e.g. per-user/group configuration).
This commit is contained in:
2018-06-06 21:44:28 -05:00
parent 4a91b55a49
commit 2be0e3d0a5
4 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
- name: ensure sshd is configured
template:
src=sshd_config.j2
dest=/etc/ssh/sshd_config
mode=0600
notify: restart sshd