sshd_cert: Add support for aliases in certificate
This commit is contained in:
parent
365d0af6a6
commit
55aed1a36d
2 changed files with 3 additions and 1 deletions
2
roles/sshd_cert/defaults/main.yml
Normal file
2
roles/sshd_cert/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
sshd_cert_hostnames: "{{ ssh_hostnames | default([]) + [inventory_hostname] }}"
|
|
@ -15,7 +15,7 @@
|
|||
- "{{ inventory_hostname }}"
|
||||
- -h
|
||||
- -n
|
||||
- "{{ inventory_hostname }}"
|
||||
- "{{ sshd_cert_hostnames | join(',') }}"
|
||||
- -V
|
||||
- -1h:+365d
|
||||
- -z
|
||||
|
|
Loading…
Add table
Reference in a new issue