1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00
ansible_role_sshd/defaults/main.yml

19 lines
342 B
YAML
Raw Normal View History

---
2019-03-27 14:23:41 +01:00
# default users for SSH access
sshd_default_allowed_users:
- "root"
- "ansible"
2019-03-27 15:16:55 +01:00
# don't forget to add the ssh_access group!
sshd_default_allowed_groups:
- "root"
- "admins"
# Enable AllowUsers and AllowGroups options
restrict_allow_users: True
# Allow login with password?
2019-04-08 19:37:59 +02:00
sshd_password_authentication: 'no' # 'yes' or 'no'