Ensure ed25519 key ist present
This commit is contained in:
parent
18ed1ea57e
commit
a03b1528c7
|
@ -62,6 +62,13 @@
|
||||||
notify: Restart SSH
|
notify: Restart SSH
|
||||||
|
|
||||||
|
|
||||||
|
- name: "Ensure ED25519 hostkey is available"
|
||||||
|
openssh_keypair:
|
||||||
|
path: /etc/ssh/ssh_host_ed25519_key
|
||||||
|
type: ed25519
|
||||||
|
when: '"ed25519" in ssh_hardening_hostkeys'
|
||||||
|
|
||||||
|
|
||||||
- name: "Renew RSA hostkeys if too short"
|
- name: "Renew RSA hostkeys if too short"
|
||||||
openssh_keypair:
|
openssh_keypair:
|
||||||
path: /etc/ssh/ssh_host_rsa_key
|
path: /etc/ssh/ssh_host_rsa_key
|
||||||
|
|
Loading…
Reference in a new issue