
This is needed if you want to setup a zookeeper cluster. Change-Id: I40d852f3e04866bd28e259ded3c029663b44395d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
# Copyright 2015 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 configuration.
|
|
become: yes
|
|
template:
|
|
dest: "{{ zookeeper_file_zoo_conf_dest }}"
|
|
group: "{{ zookeeper_file_zoo_conf_group }}"
|
|
mode: "{{ zookeeper_file_zoo_conf_mode }}"
|
|
owner: "{{ zookeeper_file_zoo_conf_owner }}"
|
|
src: "{{ zookeeper_file_zoo_conf_src }}"
|
|
register: zookeeper_file_zoo_conf
|
|
|
|
- name: Install zookeeper myid.
|
|
become: yes
|
|
template:
|
|
dest: "{{ zookeeper_file_myid_dest }}"
|
|
group: "{{ zookeeper_file_myid_group }}"
|
|
mode: "{{ zookeeper_file_myid_mode }}"
|
|
owner: "{{ zookeeper_file_myid_owner }}"
|
|
src: "{{ zookeeper_file_myid_src }}"
|
|
register: zookeeper_file_myid
|