Procházet zdrojové kódy

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 před 7 roky
rodič
revize
53a54ff4a6

+ 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