Merge pull request #3209 from mirwan/use_etcd_events_access_address
etcd_events_access_address should be used for peer_url and client_url
This commit is contained in:
commit
fb7b3305dc
1 changed files with 2 additions and 2 deletions
|
@ -340,8 +340,8 @@ etcd_access_address: "{{ access_ip | default(etcd_address) }}"
|
||||||
etcd_events_access_address: "{{ access_ip | default(etcd_address) }}"
|
etcd_events_access_address: "{{ access_ip | default(etcd_address) }}"
|
||||||
etcd_peer_url: "https://{{ etcd_access_address }}:2380"
|
etcd_peer_url: "https://{{ etcd_access_address }}:2380"
|
||||||
etcd_client_url: "https://{{ etcd_access_address }}:2379"
|
etcd_client_url: "https://{{ etcd_access_address }}:2379"
|
||||||
etcd_events_peer_url: "https://{{ etcd_access_address }}:2382"
|
etcd_events_peer_url: "https://{{ etcd_events_access_address }}:2382"
|
||||||
etcd_events_client_url: "https://{{ etcd_access_address }}:2381"
|
etcd_events_client_url: "https://{{ etcd_events_access_address }}:2381"
|
||||||
etcd_access_addresses: |-
|
etcd_access_addresses: |-
|
||||||
{% for item in groups['etcd'] -%}
|
{% for item in groups['etcd'] -%}
|
||||||
https://{{ hostvars[item]['access_ip'] | default(hostvars[item]['ip'] | default(hostvars[item]['ansible_default_ipv4']['address'])) }}:2379{% if not loop.last %},{% endif %}
|
https://{{ hostvars[item]['access_ip'] | default(hostvars[item]['ip'] | default(hostvars[item]['ansible_default_ipv4']['address'])) }}:2379{% if not loop.last %},{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue