summaryrefslogtreecommitdiffstats
path: root/roles/etcd_server_certificates
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-27 22:28:40 -0500
committerGitHub <noreply@github.com>2017-03-27 22:28:40 -0500
commita502b675936b617515ae7a00228aa62f1ec5bc53 (patch)
treefac00fa6dee431cc92ac92610387def9b8aeb155 /roles/etcd_server_certificates
parenta22e780b21eacf9ae7fc067d9f26e1a01c1d4558 (diff)
parent7aa584b59baba5a7018d38aadd19aa7646702391 (diff)
downloadopenshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.gz
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.bz2
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.xz
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.zip
Merge pull request #3038 from djosborne/calico
Merged by openshift-bot
Diffstat (limited to 'roles/etcd_server_certificates')
-rw-r--r--roles/etcd_server_certificates/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd_server_certificates/tasks/main.yml b/roles/etcd_server_certificates/tasks/main.yml
index 4ae9b79c4..956f5cc55 100644
--- a/roles/etcd_server_certificates/tasks/main.yml
+++ b/roles/etcd_server_certificates/tasks/main.yml
@@ -40,7 +40,7 @@
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
~ etcd_cert_prefix ~ 'server.csr' }}"
environment:
- SAN: "IP:{{ etcd_ip }}"
+ SAN: "IP:{{ etcd_ip }},DNS:{{ etcd_hostname }}"
when: etcd_server_certs_missing | bool
delegate_to: "{{ etcd_ca_host }}"
@@ -73,7 +73,7 @@
creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/'
~ etcd_cert_prefix ~ 'peer.csr' }}"
environment:
- SAN: "IP:{{ etcd_ip }}"
+ SAN: "IP:{{ etcd_ip }},DNS:{{ etcd_hostname }}"
when: etcd_server_certs_missing | bool
delegate_to: "{{ etcd_ca_host }}"