diff options
author | Dan Osborne <djosborne10@gmail.com> | 2017-03-10 16:07:53 -0800 |
---|---|---|
committer | Dan Osborne <djosborne10@gmail.com> | 2017-03-10 16:08:08 -0800 |
commit | 33e181c39d5024ecd226567139a7b0d36683bf2c (patch) | |
tree | 3e59fb9f14610bb704f07d645632cfa0a1fcfcd3 | |
parent | 6ac067c925dcf0561340297a4e2407392ecd6805 (diff) | |
download | openshift-33e181c39d5024ecd226567139a7b0d36683bf2c.tar.gz openshift-33e181c39d5024ecd226567139a7b0d36683bf2c.tar.bz2 openshift-33e181c39d5024ecd226567139a7b0d36683bf2c.tar.xz openshift-33e181c39d5024ecd226567139a7b0d36683bf2c.zip |
Fix etcd cert generation
-rw-r--r-- | roles/etcd_client_certificates/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/etcd_server_certificates/tasks/main.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/etcd_client_certificates/tasks/main.yml b/roles/etcd_client_certificates/tasks/main.yml index 93f4fd53c..450b65209 100644 --- a/roles/etcd_client_certificates/tasks/main.yml +++ b/roles/etcd_client_certificates/tasks/main.yml @@ -51,7 +51,7 @@ creates: "{{ etcd_generated_certs_dir ~ '/' ~ etcd_cert_subdir ~ '/' ~ etcd_cert_prefix ~ 'client.csr' }}" environment: - SAN: "IP:{{ etcd_ip }}" + SAN: "IP:{{ etcd_ip }},DNS:{{ etcd_hostname }}" when: etcd_client_certs_missing | bool delegate_to: "{{ etcd_ca_host }}" 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 }}" |