commit | author | age
|
2282af
|
1 |
--- |
GH |
2 |
- name: set namespace |
|
3 |
set_fact: |
|
4 |
_namespace: "{{ namespace_prefix }}{{ user_num }}" |
|
5 |
|
|
6 |
- name: Create namespace for {{ _namespace }} |
|
7 |
k8s: |
|
8 |
state: present |
|
9 |
definition: "{{ lookup('template', role_path ~ '/templates/namespace.j2' ) | from_yaml }}" |
|
10 |
|
|
11 |
- name: Create OperatorGroup for the operators |
|
12 |
k8s: |
|
13 |
state: present |
ddd690
|
14 |
definition: "{{ lookup('template', role_path ~ '/templates/olm-operatorgroup/single-namespace.j2' ) | from_yaml }}" |
2282af
|
15 |
|
GH |
16 |
- name: AMQ Streams for {{ _namespace }} |
|
17 |
include_tasks: workload_per_project_amqstreams.yml |
|
18 |
|
|
19 |
- name: DataGrid for {{ _namespace }} |
|
20 |
include_tasks: workload_per_project_datagrid.yml |
|
21 |
|
|
22 |
- name: Business Automation for {{ _namespace }} |
|
23 |
include_tasks: workload_per_project_businessautomation.yml |
|
24 |
|
|
25 |
- name: Fuse for {{ _namespace }} |
|
26 |
include_tasks: workload_per_project_fuse.yml |
|
27 |
|
|
28 |
- name: Gitea for {{ _namespace }} |
|
29 |
include_tasks: workload_per_project_gitea.yml |
|
30 |
|
|
31 |
- name: CoreReadyWorkspaces for {{ _namespace }} |
|
32 |
include_tasks: workload_per_project_codereadyworkspaces.yml |
|
33 |
|
|
34 |
- name: Prometheus for {{ _namespace }} |
|
35 |
include_tasks: workload_per_project_prometheus.yml |
|
36 |
|
|
37 |
- name: Grafana for {{ _namespace }} |
|
38 |
include_tasks: workload_per_project_grafana.yml |
|
39 |
|
|
40 |
- name: Fuse workdload for {{ _namespace }} |
ddd690
|
41 |
include_tasks: workload_per_project_fuseworkload.yml |
GH |
42 |
|
|
43 |
- name: Print Overview |
|
44 |
debug: |
|
45 |
msg: "{{ item }}" |
|
46 |
with_items: |
|
47 |
- "user.info: {{ _namespace }} ->" |
|
48 |
- "user.info: Clients:" |
|
49 |
- "user.info: - Kafka: {{ kafka_clients.stdout }}" |
|
50 |
- "user.info: - Infinispan hotrod: {{ hotrod_clients.stdout }}" |
|
51 |
- "user.info: Tools:" |
|
52 |
- "user.info: - Code Ready Workspaces (u: {{ _namespace }}, p: {{ _account_password }}): http://{{ che_route.stdout }}" |
|
53 |
- "user.info: - Gitea (u: {{ _namespace }}, p: {{ _account_password }}): https://{{ gitea_route.stdout }}" |
|
54 |
- "user.info: - Prometheus: https://{{ prom_route.stdout }}" |
|
55 |
- "user.info: - Grafana: https://{{ grafana_route.stdout }}" |