Files
configpolicy/roles/sshd/tasks/main.yml
Dustin C. Hatch 2be0e3d0a5 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).
2018-06-06 21:44:28 -05:00

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