mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
start rewrite default variables
This commit is contained in:
parent
e0f2186260
commit
f582a80797
2 changed files with 49 additions and 30 deletions
|
@ -1,33 +1,45 @@
|
||||||
---
|
---
|
||||||
# set the ssh port
|
sshd:
|
||||||
ssh_port: 22
|
# set the ssh server port
|
||||||
|
port: 22
|
||||||
|
# ssh password authorisatuin (not recomended)
|
||||||
|
password_authentication: false
|
||||||
|
# should we disable not selected ssh key types?
|
||||||
|
manage_key_types: true
|
||||||
|
# choose ssh server allowed key types
|
||||||
|
key_types:
|
||||||
|
- ed25519
|
||||||
|
# - rsa
|
||||||
|
# - ecdsa
|
||||||
|
# - dsa # (do not use!)
|
||||||
|
|
||||||
# default users for SSH access
|
|
||||||
sshd_default_allowed_users:
|
|
||||||
- "root"
|
|
||||||
- "ansible"
|
|
||||||
|
|
||||||
# don't forget to add the ssh_access group!
|
|
||||||
sshd_default_allowed_groups:
|
|
||||||
- "root"
|
|
||||||
- "admins"
|
|
||||||
|
|
||||||
# Enable AllowUsers and AllowGroups options
|
## default users for SSH access
|
||||||
restrict_allow_users: True
|
#sshd_default_allowed_users:
|
||||||
|
# - "root"
|
||||||
|
# - "ansible"
|
||||||
|
#
|
||||||
|
## don't forget to add the ssh_access group!
|
||||||
|
#sshd_default_allowed_groups:
|
||||||
|
# - "root"
|
||||||
|
# - "admins"
|
||||||
|
##
|
||||||
|
## Enable AllowUsers and AllowGroups options
|
||||||
|
#restrict_allow_users: True
|
||||||
|
#
|
||||||
|
### Forcing only ed25519 SSH keys
|
||||||
|
#only_allow_ed25519: true
|
||||||
|
#
|
||||||
|
## Allow login with password?
|
||||||
|
#
|
||||||
|
### Allow optional cryptho methods (NOT RECOMENDED)
|
||||||
|
#generate_ecdsa_too: false
|
||||||
|
#use_diffie_hellman_group_exchange_sha256: false
|
||||||
|
#u#se_aes256_ctr: false
|
||||||
|
#u#se_hmac_sha2_512: false
|
||||||
|
###
|
||||||
|
#do_not_delete_legacy_ssh_keys: true
|
||||||
|
|
||||||
# Forcing only ed25519 SSH keys
|
# perform simple version check for this role? (true is recomended)
|
||||||
only_allow_ed25519: true
|
submodules_versioncheck: false
|
||||||
|
|
||||||
# Allow login with password?
|
|
||||||
sshd_password_authentication: 'no' # 'yes' or 'no'
|
|
||||||
|
|
||||||
# Allow optional cryptho methods (NOT RECOMENDED)
|
|
||||||
generate_ecdsa_too: false
|
|
||||||
use_diffie_hellman_group_exchange_sha256: false
|
|
||||||
use_aes256_ctr: false
|
|
||||||
use_hmac_sha2_512: false
|
|
||||||
|
|
||||||
do_not_delete_legacy_ssh_keys: true
|
|
||||||
|
|
||||||
# version check for this role?
|
|
||||||
submodules_versioncheck: true
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
---
|
---
|
||||||
playbook_version_number: 2058 # should be over ninethousand
|
_sshd:
|
||||||
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'
|
port: 22
|
||||||
|
password_authentication: false
|
||||||
|
manage_key_types: true
|
||||||
|
key_types:
|
||||||
|
- ed25519
|
||||||
|
|
||||||
|
playbook_version_number: 2060 # should be over ninethousand
|
||||||
|
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'
|
||||||
|
|
Loading…
Reference in a new issue