-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathprovision-tmdb-wazi.yml
49 lines (40 loc) · 1.07 KB
/
provision-tmdb-wazi.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
---
- name: IMS TMDB Provisioning
hosts: all
gather_facts: false
# Variable file for Wazi environment
vars_files:
- vars_wazi/ims-dbdc.yml
environment: '{{ system_environment }}'
collections:
- ibm.ibm_zos_core
- ibm.ibm_zos_ims
tasks:
- block:
- include_role:
name: set_up_run_environment
- name: Validate user inputs
include_role:
name: check_inputs
vars:
fail_task: true
- name: Check if IMS already up
include_role:
name: check_duplicate_ims
- name: Check if IMSPlex already up
include_role:
name: check_duplicate_imsplex
- name: Check if ports are available
include_role:
name: check_port
- include_role:
name: provision_ims
- include_role:
name: monitor_ims
always:
- name: Delete the temporary provision files directory
file:
path: "{{ tmdb_tmp_dir.path }}"
state: absent
vars:
uss_file_path: '{{ tmdb_tmp_dir.path }}'