From 833c18bf8efa3c0988975138f1b7ddb95cd25f12 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 11 Sep 2017 15:56:46 -0400 Subject: Update master config with new client urls during etcd scaleup. --- roles/openshift_master/tasks/update_etcd_client_urls.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/openshift_master/tasks/update_etcd_client_urls.yml (limited to 'roles/openshift_master') 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 -- cgit v1.2.3