This adds a simple role to install Zookeeper. Add an option to nodepool-base to use this role to install Zookeeper. Use this in the nodepool-builder gate testing where we are just validating that the nodepool-builder container starts and is ready to accept connections. It needs a zookeeper to talk to, even though it is not going to do anything. Change-Id: I4ae89a51e454be4ee53ad4e04407162aaa8d9f9achanges/08/710908/3
parent
281425a44d
commit
e7f1062d51
@ -0,0 +1,4 @@
|
||||
An ansible role to install Zookeeper
|
||||
|
||||
**Role Variables**
|
||||
|
@ -0,0 +1,11 @@
|
||||
- name: Install zookeeper
|
||||
package:
|
||||
name:
|
||||
- zookeeper
|
||||
- zookeeperd
|
||||
state: present
|
||||
|
||||
- name: Start zookeeper service
|
||||
service:
|
||||
name: zookeeper
|
||||
state: started
|
@ -1,3 +1,10 @@
|
||||
nodepool base setup
|
||||
|
||||
**Role Variables**
|
||||
|
||||
.. zuul:rolevar:: nodepool_base_install_zookeeper
|
||||
|
||||
Install zookeeper to the node. This is not expected to be used in
|
||||
production, where the nodes would connect to an externally
|
||||
configured zookeeper instance. It can be useful for basic loopback
|
||||
tests in the gate, however.
|
||||
|
@ -0,0 +1 @@
|
||||
nodepool_base_install_zookeeper: False
|
@ -0,0 +1 @@
|
||||
nodepool_base_install_zookeeper: True
|
Loading…
Reference in new issue