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
- Host: GitHub
- URL: https://github.com/jcustenborder/confluent-ansible
- Owner: jcustenborder
- Created: 2018-03-07T06:51:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-08T20:11:21.000Z (over 8 years ago)
- Last Synced: 2025-04-09T13:12:48.223Z (about 1 year ago)
- Topics: ansible, confluent, confluent-kafka, kafka
- Homepage:
- Size: 49.8 KB
- Stars: 6
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```