Configures OpenSSH server.
None.
ssh_Port: 22
ssh_PermitRootLogin: "no"
ssh_PubkeyAuthentication: "yes"
ssh_PermitEmptyPasswords: "no"
ssh_PasswordAuthentication: "no"
None.
After configured, restart sshd manually.
- hosts: servers
roles:
- { role: shomatan.openssh-server }
MIT
Shoma Nishitateno