|
@@ -40,7 +40,7 @@
|
|
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
|
|
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
|
|
~ etcd_cert_prefix ~ 'server.csr' }}"
|
|
~ etcd_cert_prefix ~ 'server.csr' }}"
|
|
environment:
|
|
environment:
|
|
- SAN: "IP:{{ etcd_ip }}"
|
|
|
|
|
|
+ SAN: "IP:{{ etcd_ip }},DNS:{{ etcd_hostname }}"
|
|
when: etcd_server_certs_missing | bool
|
|
when: etcd_server_certs_missing | bool
|
|
delegate_to: "{{ etcd_ca_host }}"
|
|
delegate_to: "{{ etcd_ca_host }}"
|
|
|
|
|
|
@@ -73,7 +73,7 @@
|
|
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
|
|
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
|
|
~ etcd_cert_prefix ~ 'peer.csr' }}"
|
|
~ etcd_cert_prefix ~ 'peer.csr' }}"
|
|
environment:
|
|
environment:
|
|
- SAN: "IP:{{ etcd_ip }}"
|
|
|
|
|
|
+ SAN: "IP:{{ etcd_ip }},DNS:{{ etcd_hostname }}"
|
|
when: etcd_server_certs_missing | bool
|
|
when: etcd_server_certs_missing | bool
|
|
delegate_to: "{{ etcd_ca_host }}"
|
|
delegate_to: "{{ etcd_ca_host }}"
|
|
|
|
|