forked from confluentinc/cp-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.yml
78 lines (70 loc) · 1.74 KB
/
all.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
- name: Generate CA for Self Signed Certs
hosts: zookeeper[0]
gather_facts: no
tags: certificate_authority
tasks:
- import_role:
name: confluent.variables_handlers
- name: Create Certificate Authority and Copy to Ansible Host
include_tasks: tasks/certificate_authority.yml
when:
- self_signed|bool
- regenerate_ca|bool
- ssl_enabled|bool
- name: Host Prerequisites
hosts: zookeeper:kafka_broker:schema_registry:kafka_connect:ksql:control_center:kafka_rest
tags: common
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.common
- name: Zookeeper Provisioning
hosts: zookeeper
tags: zookeeper
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.zookeeper
- name: Kafka Broker Provisioning
hosts: kafka_broker
tags: kafka_broker
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.kafka_broker
- name: Schema Registry Provisioning
hosts: schema_registry
tags: schema_registry
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.schema_registry
- name: Kafta Connect Provisioning
hosts: kafka_connect
tags: kafka_connect
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.kafka_connect
- name: KSQL Provisioning
hosts: ksql
tags: ksql
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.ksql
- name: Kafka Rest Provisioning
hosts: kafka_rest
tags: kafka_rest
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.kafka_rest
- name: Control Center Provisioning
hosts: control_center
tags: control_center
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.control_center