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).
7 lines
136 B
YAML
7 lines
136 B
YAML
- name: ensure sshd is configured
|
|
template:
|
|
src=sshd_config.j2
|
|
dest=/etc/ssh/sshd_config
|
|
mode=0600
|
|
notify: restart sshd
|