Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
       tasks_from: configure_external_etcd
     vars:
     vars:
       etcd_peer_url_scheme: "https"
       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
       etcd_peer_port: 2379
 
 
   # 9. start the master
   # 9. start the master