-
Notifications
You must be signed in to change notification settings - Fork 16
/
hosts.tftpl
59 lines (51 loc) · 1.05 KB
/
hosts.tftpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
all:
vars:
ansible_connection: ssh
ansible_user: ubuntu
ansible_become: true
ansible_ssh_private_key_file: <<path-to-pem-file>>
zookeeper:
hosts:
%{ for addr in zookeepers ~}
${addr}:
%{ endfor ~}
kafka_controller:
hosts:
%{ for addr,az in zipmap(kafka_controllers, kafka_controller_azs) ~}
${addr}:
kafka_controller_custom_properties:
broker.rack: ${az}
%{ endfor ~}
kafka_broker:
hosts:
%{ for addr,az in zipmap(kafka_brokers, kafka_broker_azs) ~}
${addr}:
kafka_broker_custom_properties:
broker.rack: ${az}
%{ endfor ~}
kafka_connect:
hosts:
%{ for addr in kafka_connects ~}
${addr}:
%{ endfor ~}
schema_registry:
hosts:
%{ for addr in schema_registries ~}
${addr}:
%{ endfor ~}
kafka_rest:
hosts:
%{ for addr in kafka_rests ~}
${addr}:
%{ endfor ~}
ksql:
hosts:
%{ for addr in ksqls ~}
${addr}:
%{ endfor ~}
control_center:
hosts:
%{ for addr in control_centers ~}
${addr}:
%{ endfor ~}