|
@@ -20,7 +20,7 @@
|
|
|
/usr/bin/etcdctl --cert-file {{ etcd_peer_cert_file }}
|
|
|
--key-file {{ etcd_peer_key_file }}
|
|
|
--ca-file {{ etcd_peer_ca_file }}
|
|
|
- -C {{ etcd_peer_url_scheme }}://{{ hostvars[etcd_ca_host].etcd_hostname }}:{{ etcd_client_port }}
|
|
|
+ -C {{ etcd_peer_url_scheme }}://{{ hostvars[etcd_ca_host].etcd_ip }}:{{ etcd_client_port }}
|
|
|
member add {{ etcd_hostname }} {{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}
|
|
|
delegate_to: "{{ etcd_ca_host }}"
|
|
|
failed_when:
|