forked from confluentinc/cp-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall.yml
53 lines (42 loc) · 1.46 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
---
- name: Host Prerequisites
hosts: zookeeper:kafka_broker:schema_registry:kafka_connect:ksql:control_center:kafka_rest:kafka_connect_replicator
gather_facts: false
environment: "{{ proxy_env }}"
tasks:
- import_role:
name: confluent.variables
- name: Create Certificate Authority and Copy to Ansible Host
include_tasks: tasks/certificate_authority.yml
tags: certificate_authority
run_once: true
when: >
create_mds_certs|bool or
(self_signed|bool and
(zookeeper_ssl_enabled|bool or
kafka_broker_listeners | ssl_required(ssl_enabled) or
kafka_broker_rest_ssl_enabled|bool or
schema_registry_ssl_enabled|bool or
kafka_rest_ssl_enabled|bool or
kafka_connect_ssl_enabled|bool or
ksql_ssl_enabled|bool or
control_center_ssl_enabled|bool))
- import_role:
name: confluent.common
tags: common
- name: Set Up Secrets Protection
include_tasks: tasks/masterkey.yml
run_once: true
when:
- secrets_protection_enabled|bool
- not secrets_protection_masterkey
- regenerate_masterkey|bool
tags: masterkey
- import_playbook: zookeeper.yml
- import_playbook: kafka_broker.yml
- import_playbook: schema_registry.yml
- import_playbook: kafka_connect.yml
- import_playbook: ksql.yml
- import_playbook: kafka_rest.yml
- import_playbook: control_center.yml
- import_playbook: kafka_connect_replicator.yml