summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/master_etcd_certificates.yml
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2018-01-29 15:29:33 -0500
committerAndrew Butcher <abutcher@redhat.com>2018-02-01 16:57:43 -0500
commit76bbd06963b474237925b97893c2403b3feba496 (patch)
tree35b2409dbc6753270a0f595f4b2c79fbbfe3ea8f /playbooks/openshift-etcd/private/master_etcd_certificates.yml
parent6ee7a3baa0d46c3ab29050b61fea92ffb350ee35 (diff)
downloadopenshift-76bbd06963b474237925b97893c2403b3feba496.tar.gz
openshift-76bbd06963b474237925b97893c2403b3feba496.tar.bz2
openshift-76bbd06963b474237925b97893c2403b3feba496.tar.xz
openshift-76bbd06963b474237925b97893c2403b3feba496.zip
Determine which etcd host is the etcd_ca_host rather than assume it is the first host in the etcd host group.
Diffstat (limited to 'playbooks/openshift-etcd/private/master_etcd_certificates.yml')
-rw-r--r--playbooks/openshift-etcd/private/master_etcd_certificates.yml2
1 files changed, 0 insertions, 2 deletions
diff --git a/playbooks/openshift-etcd/private/master_etcd_certificates.yml b/playbooks/openshift-etcd/private/master_etcd_certificates.yml
index d98470db2..4e4972dba 100644
--- a/playbooks/openshift-etcd/private/master_etcd_certificates.yml
+++ b/playbooks/openshift-etcd/private/master_etcd_certificates.yml
@@ -5,9 +5,7 @@
roles:
- role: openshift_etcd_facts
- role: openshift_etcd_client_certificates
- etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}"
etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
etcd_cert_prefix: "master.etcd-"
- openshift_ca_host: "{{ groups.oo_first_master.0 }}"
when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config