Configure a certificate for all the defined IP addresses

This commit is contained in:
Andrea Dell'Amico 2023-10-06 17:58:04 +02:00
parent f0eb1fc96c
commit f5c38406bc
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ mkcert_cert_name: "{{ ansible_fqdn}}.pem"
mkcert_cert_dest_path: "{{ pki_dir }}/certs/{{ mkcert_cert_name }}"
mkcert_key_name: "{{ ansible_fqdn}}-key.pem"
mkcert_key_dest_path: "{{ pki_dir }}/keys/{{ mkcert_key_name }}"
mkcert_dsn_and_ip_list: "{{ ansible_fqdn }} {{ ansible_default_ipv4.address }}"
mkcert_dsn_and_ip_list: "{{ ansible_fqdn }} {% for ip in ansible_all_ipv4_addresses %}{{ ip }} {% endfor %}"
mkcert_ca_host: localhost
trusted_ca_el_anchors_path: '/etc/pki/ca-trust/source/anchors'