Initial commit of zookeeper
Change-Id: I1f000352470cf8d09258052c14584215cee61887 Depends-On: Id3eeb22af1341be4238d8fc15311a26d2b951562 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4591592da8
commit
94ad642140
|
@ -0,0 +1,14 @@
|
|||
# Copyright 2016 Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
|
@ -13,5 +13,8 @@ zl01 ansible_host=127.0.3.1
|
|||
[zuul-merger]
|
||||
zm01 ansible_host=127.0.4.1
|
||||
|
||||
[zookeeper]
|
||||
zk01 ansible_host=127.0.6.1
|
||||
|
||||
[zuul-server]
|
||||
zuul ansible_host=127.0.5.1
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright 2016 Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Ensure zookeeper is running
|
||||
become: yes
|
||||
shell: /usr/sbin/service zookeeper status
|
||||
tags: skip_ansible_lint
|
|
@ -14,6 +14,7 @@
|
|||
---
|
||||
- include: bastion.yaml
|
||||
- include: bootstrap.yaml
|
||||
- include: zookeeper.yaml
|
||||
- include: nodepool-server.yaml
|
||||
- include: nodepool-builder.yaml
|
||||
- include: zuul-launcher.yaml
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 2016 Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Install zookeeper.
|
||||
hosts: zookeeper
|
||||
|
||||
roles:
|
||||
- windmill.zookeeper
|
||||
- test.zookeeper
|
|
@ -33,4 +33,5 @@ zuul-cloner -m $CLONEMAP \
|
|||
openstack/ansible-role-shade \
|
||||
openstack/ansible-role-ssh \
|
||||
openstack/ansible-role-virtualenv \
|
||||
openstack/ansible-role-zookeeper \
|
||||
openstack/ansible-role-zuul
|
||||
|
|
Loading…
Reference in New Issue