Last active
September 23, 2021 19:49
-
-
Save ableasdale/c2e6bbc49bdfd06d5ef74cea22e2b6e4 to your computer and use it in GitHub Desktop.
cp-ansible - minimal kafka setup (hosts.yml)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
vars: | |
ksql_service_environment_overrides: | |
KSQL_HEAP_OPTS: "-Xmx7g" | |
kafka_broker_service_environment_overrides: | |
KAFKA_HEAP_OPTS: "-Xmx5g" | |
ansible_connection: ssh | |
ansible_user: centos | |
ansible_become: true | |
# ansible_ssh_private_key_file: /home/centos/.ssh/key.pem | |
# ssl_enabled: false | |
# jolokia_enabled: true | |
# jmxexporter_enabled: true | |
zookeeper: | |
vars: | |
zookeeper_custom_properties: | |
4lw.commands.whitelist: "*" | |
# 4lw.commands.whitelist: stat, ruok, conf, isro, dump | |
hosts: | |
ip-xxx-xxx-xxx-xxx.eu-west-2.compute.internal: | |
ansible_host: ec2-xxx-xxx-xxx-xxx.eu-west-2.compute.amazonaws.com | |
zookeeper_id: 0 | |
# hostname1: | |
# zookeeper_id: 1 | |
kafka_broker: | |
# vars: | |
# kafka_broker_custom_java_args: "-Xms1g -Xmx3g" | |
hosts: | |
ip-xxx-xxx-xxx-xxx.eu-west-2.compute.internal: | |
ansible_host: ec2-xxx-xxx-xxx-xxx.eu-west-2.compute.amazonaws.com | |
broker_id: 0 | |
# hostname1: | |
# broker_id: 1 | |
ksql: | |
vars: | |
ksql_service_environment_overrides: | |
LD_PRELOAD: '/usr/lib64/libjemalloc.so' | |
# ksql_custom_java_args: "-Xms6g -Xmx6g" | |
hosts: | |
ip-xxx-xxx-xxx-xxx.eu-west-2.compute.internal: | |
ansible_host: ec2-xxx-xxx-xxx-xxx.eu-west-2.compute.amazonaws.com | |
#schema_registry: | |
# hosts: | |
# hostname: | |
control_center: | |
hosts: | |
ip-xxx-xxx-xxx-xxx.eu-west-2.compute.internal: | |
ansible_host: ec2-xxx-xxx-xxx-xxx.eu-west-2.compute.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ansible-playbook -i hosts.yml all.yml