sshd_cert: Add support for aliases in certificate

This commit is contained in:
Timo Makinen 2024-03-23 20:29:53 +00:00
parent 365d0af6a6
commit 55aed1a36d
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
---
sshd_cert_hostnames: "{{ ssh_hostnames | default([]) + [inventory_hostname] }}"

View file

@ -15,7 +15,7 @@
- "{{ inventory_hostname }}"
- -h
- -n
- "{{ inventory_hostname }}"
- "{{ sshd_cert_hostnames | join(',') }}"
- -V
- -1h:+365d
- -z