瀏覽代碼

Merge pull request #5843 from ingvagabund/set-the-correct-etcd-ip-address

Set the proper external etcd ip address when migrating embeded etcd
Scott Dodson 7 年之前
父節點
當前提交
53a54ff4a6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/common/openshift-etcd/embedded2external.yml

+ 1 - 1
playbooks/common/openshift-etcd/embedded2external.yml

@@ -158,7 +158,7 @@
       tasks_from: configure_external_etcd
     vars:
       etcd_peer_url_scheme: "https"
-      etcd_ip: "{{ openshift.common.ip }}"
+      etcd_ip: "{{ hostvars[groups.oo_etcd_to_config.0].openshift.common.ip }}"
       etcd_peer_port: 2379
 
   # 9. start the master