Skip to content

jcustenborder/confluent-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Ansible playbooks for installing the Confluent Platform.

Example hosts.yml

all:
  vars:
    ansible_connection: ssh
    ansible_ssh_user: centos
    ansible_become: True
zookeeper:
  hosts:
    zookeeper-01.example.com:
    zookeeper-02.example.com:
    zookeeper-03.example.com:
broker:
  hosts:
    broker-01.example.com:
      kafka:
        broker:
          id: 1
    broker-02.example.com:
      kafka:
        broker:
          id: 2
    broker-03.example.com:
      kafka:
        broker:
          id: 3
connect-distributed:
  hosts:
    connect-01.example.com:
    connect-02.example.com:
schema-registry:
  hosts:
    connect-01.example.com:
    connect-02.example.com:
control-center:
  hosts:
    control-center.example.com:

Running

Check for Changes

ansible-playbook --check -i hosts.yml all.yaml

Apply Changes

ansible-playbook -i hosts.yml all.yaml
# service, user
#confluent-schema-registry, cp-schema-registry
#confluent-kafka-rest, cp-kafka-rest
#confluent-control-center, cp-control-center
#confluent-kafka-connect, cp-kafka-connect
#confluent-kafka, cp-kafka
#confluent-zookeeper, cp-kafka   <-- Take note!
#confluent-ksql, cp-ksql

About

Ansible playbook for installing the Confluent Platform

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published