summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/scaleup.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-08 19:44:21 -0500
committerGitHub <noreply@github.com>2018-02-08 19:44:21 -0500
commit3489d4f75fd2773f5fa5a684b82bf8ca44f1fa02 (patch)
tree77fc852e5bd7aa2d346b3cdd0a178d5b65f7146b /playbooks/openshift-etcd/private/scaleup.yml
parent0217c03b15bbf5ffcd5491f789de65ecb6e22ddd (diff)
parente4f4204c4dcb5d9d300a2e2cca9cabe4b7afcf94 (diff)
downloadopenshift-3489d4f75fd2773f5fa5a684b82bf8ca44f1fa02.tar.gz
openshift-3489d4f75fd2773f5fa5a684b82bf8ca44f1fa02.tar.bz2
openshift-3489d4f75fd2773f5fa5a684b82bf8ca44f1fa02.tar.xz
openshift-3489d4f75fd2773f5fa5a684b82bf8ca44f1fa02.zip
Merge pull request #6926 from abutcher/etcd-ca-host
Determine which host is the etcd CA host
Diffstat (limited to 'playbooks/openshift-etcd/private/scaleup.yml')
-rw-r--r--playbooks/openshift-etcd/private/scaleup.yml5
1 files changed, 0 insertions, 5 deletions
diff --git a/playbooks/openshift-etcd/private/scaleup.yml b/playbooks/openshift-etcd/private/scaleup.yml
index 8a9811a25..162a5eba7 100644
--- a/playbooks/openshift-etcd/private/scaleup.yml
+++ b/playbooks/openshift-etcd/private/scaleup.yml
@@ -12,8 +12,6 @@
hosts: oo_new_etcd_to_config
serial: 1
any_errors_fatal: true
- vars:
- etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
pre_tasks:
- name: Add new etcd members to cluster
command: >
@@ -42,7 +40,6 @@
- role: openshift_etcd
when: etcd_add_check.rc == 0
etcd_peers: "{{ groups.oo_etcd_to_config | union(groups.oo_new_etcd_to_config)| default([], true) }}"
- etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
etcd_initial_cluster_state: "existing"
etcd_initial_cluster: "{{ etcd_add_check.stdout_lines[3] | regex_replace('ETCD_INITIAL_CLUSTER=','') | regex_replace('\"','') }}"
@@ -66,8 +63,6 @@
hosts: oo_masters_to_config
serial: 1
vars:
- etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
- openshift_ca_host: "{{ groups.oo_first_master.0 }}"
openshift_master_etcd_hosts: "{{ hostvars
| lib_utils_oo_select_keys(groups['oo_etcd_to_config'] | union(groups['oo_new_etcd_to_config'] | default([]) ))
| lib_utils_oo_collect('openshift.common.hostname')