summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-09-14 14:50:58 -0400
committerGitHub <noreply@github.com>2017-09-14 14:50:58 -0400
commit4b728ee84b2c0b52a9c8dbf96d04f1bccc5c51e3 (patch)
tree8ca882f2ef72ffb9784fffecdfba0cbd4415cd1f /roles/openshift_master
parentc14ba0d9fb0c1249eac0c034feef1cc428f0704b (diff)
parent833c18bf8efa3c0988975138f1b7ddb95cd25f12 (diff)
downloadopenshift-4b728ee84b2c0b52a9c8dbf96d04f1bccc5c51e3.tar.gz
openshift-4b728ee84b2c0b52a9c8dbf96d04f1bccc5c51e3.tar.bz2
openshift-4b728ee84b2c0b52a9c8dbf96d04f1bccc5c51e3.tar.xz
openshift-4b728ee84b2c0b52a9c8dbf96d04f1bccc5c51e3.zip
Merge pull request #5367 from abutcher/etcd-scaleup-master-client-urls
Bug 1490304: Etcd scale-up playbook should add new member to etcdClientInfo of master-config.yaml
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/update_etcd_client_urls.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/update_etcd_client_urls.yml b/roles/openshift_master/tasks/update_etcd_client_urls.yml
new file mode 100644
index 000000000..1ab105808
--- /dev/null
+++ b/roles/openshift_master/tasks/update_etcd_client_urls.yml
@@ -0,0 +1,8 @@
+---
+- yedit:
+ src: "{{ openshift.common.config_base }}/master/master-config.yaml"
+ key: 'etcdClientInfo.urls'
+ value: "{{ openshift.master.etcd_urls }}"
+ notify:
+ - restart master api
+ - restart master controllers