Fix generated zookeeper config for nodepool
The host address needs to be specified as "host", not "addr". This issue was introduced in [0]. [0] I40ff001c53b72c020463f63201719eef7d145b4f Change-Id: I98aa1481cb09d4850cb9f764076cd04c7f9e3277
This commit is contained in:
parent
b8326dcc9d
commit
5d4ca69d51
@ -64,7 +64,7 @@
|
||||
- name: Get zk config
|
||||
set_fact:
|
||||
zk_hosts:
|
||||
hosts: "{{ (zk_hosts['hosts']|default([])) + [{'port': '2281', 'addr': hostvars[item]['public_v6'] | default(hostvars[item]['ansible_host']) }] }}"
|
||||
hosts: "{{ (zk_hosts['hosts']|default([])) + [{'port': '2281', 'host': hostvars[item]['public_v6'] | default(hostvars[item]['ansible_host']) }] }}"
|
||||
with_items: '{{ groups["zookeeper"] }}'
|
||||
|
||||
- name: Overwrite zookeeper-servers
|
||||
|
Loading…
Reference in New Issue
Block a user