An open API service indexing awesome lists of open source software.

https://github.com/jcustenborder/confluent-ansible

Ansible playbook for installing the Confluent Platform
https://github.com/jcustenborder/confluent-ansible

ansible confluent confluent-kafka kafka

Last synced: 10 months ago
JSON representation

Ansible playbook for installing the Confluent Platform

Awesome Lists containing this project

README

          

# Introduction

Ansible playbooks for installing the [Confluent Platform](http://www.confluent.io).

## Example hosts.yml

```yaml
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

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

### Apply Changes

```bash
ansible-playbook -i hosts.yml all.yaml
```

```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
```