Ensure ed25519 key ist present

This commit is contained in:
Sven Velt 2024-07-10 11:21:47 +02:00
parent 18ed1ea57e
commit a03b1528c7

View file

@ -62,6 +62,13 @@
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"
openssh_keypair:
path: /etc/ssh/ssh_host_rsa_key