Browse Source

Set the proper external etcd ip address when migrating embeded etcd

Jan Chaloupka 7 years ago
parent
commit
9c76790c3f
1 changed files with 1 additions and 1 deletions
  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