Skip to content

Commit 104a2f7

Browse files
committed
Updates to ssupport 5.5
1 parent 96e050a commit 104a2f7

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

create_new_example.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
3+
set -o nounset \
4+
-o errexit \
5+
-o verbose
6+
7+
PROJECT_DIR=$1
8+
9+
git checkout -b "example_$PROJECT_DIR"
10+
11+
#Make Project Directory and Change into it
12+
mkdir -p $PROJECT_DIR
13+
cd $PROJECT_DIR
14+
15+
#SymLink/Copy base into playbook scope
16+
ln -s ../cp-ansible/roles
17+
ln -s ../cp-ansible/tasks
18+
ln -s ../cp-ansible/filter_plugins
19+
cp ../cp-ansible/ansible.cfg ansible.cfg
20+
cp ../cp-ansible/all.yml all.yml
21+
22+
#Setup Common
23+
touch hosts.yml
24+
mkdir -p group_vars/all
25+
cd group_vars/all
26+
ln -s ../../../resources/group_vars/all/base.yml
27+
cd ../../
28+
ln -s ../resources/pem/
29+
ln -s ../resources/ssl-certs/
30+
31+
#Add and make 1st commit
32+
git add ./*
33+
git commit -m"Initial Example Build Out"

resources/group_vars/all/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jolokia_enabled: true #Disables Jolokia download/install
1414
jmxexporter_enabled: true #Enable to install Prometheus
1515
kafka_broker_configure_additional_brokers: false #This appears to be a regression in 5.5. We are defaulting to true now for some reason.
1616
kafka_broker_default_listeners:
17-
external:
17+
internal:
1818
hostname: "{{inventory_hostname}}" #Set the Advertised Name
1919

2020
ansible_become: true

sasl_scram/group_vars/all/sasl_scram.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
kafka_broker_default_listeners:
2-
external:
3-
sasl_protocol: scram
2+
internal:
3+
name: INTERNAL
4+
ssl_enabled: false
5+
sasl_protocol: scram
6+
ssl_mutual_auth_enabled: false
7+
port: 9093
8+
9+
# This setting is not required as the above will cover most tradition of use cases.
10+
# This is included here to assist with the other install types that need multipule interfaces.
11+
kafka_broker_custom_listeners:
12+
external:
13+
name: EXTERNAL
14+
ssl_enabled: false
15+
sasl_protocol: SCRAM
16+
ssl_mutual_auth_enabled: false
17+
port: 9092
418

519
# Not required to be defined as this is the default values.
620
# It is shown here for documentation and reference.

0 commit comments

Comments
 (0)