Support multiple zookeeper hosts for zuul.conf
Change-Id: Ic60c67364305245444f6de6250a4621a578448ad Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
f56f95f39d
commit
9d8e5eaeea
|
@ -1,6 +1,9 @@
|
|||
# This file is generated by Ansible
|
||||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[zookeeper]
|
||||
hosts = {{ groups['zookeeper'] | map('extract', hostvars, ['ansible_host']) | join(':2181,') }}:2181
|
||||
|
||||
[gearman]
|
||||
port = 4730
|
||||
server = {{ hostvars['gear01'].ansible_host }}
|
||||
|
@ -45,9 +48,6 @@ zuul_url = {{ hostvars['zs01'].ansible_host }}
|
|||
log_config = /etc/zuul/web-logging.conf
|
||||
listen_address = {{ hostvars['zw01'].ansible_host }}
|
||||
|
||||
[zookeeper]
|
||||
hosts = {{ hostvars['zk01'].ansible_host | ipwrap }}
|
||||
|
||||
[connection gerrit]
|
||||
driver = gerrit
|
||||
server = 127.0.0.1
|
||||
|
|
Loading…
Reference in New Issue