Преглед на файлове

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