forked from IBM/z_ansible_collections_samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app-deploy.yml
82 lines (64 loc) · 2.17 KB
/
app-deploy.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
79
80
81
82
- name: Provisioning/Deployment of IMS COBOL Application
hosts: zsystem
collections:
- ibm.ibm_zos_core
- ibm.ibm_zos_ims
gather_facts: false
vars_files:
- "{{ vars_folder_name }}/ims_cobol.yml"
environment: '{{ system_environment }}'
tasks:
- name: IMS COBOL App Provision
block:
# Copy and extract the sample COBOL files
- include_role:
name: ims_cobol_copy_extract_files
# # Create Application Datasets
- include_role:
name: ims_cobol_create_app_datasets
# Execute permissions to copy data and copy it to uss datasets and
# copy the DBD's and PSB's to the datasets
- include_role:
name: ims_cobol_execute_permissions_and_copy_ussDatasets
# DBDGEN, PSBGEN, ACBGEN
- include_role:
name: ims_cobol_run_gens
vars:
dbd_gen: true
psb_gen: true
acb_gen: true
- include_role:
name: ims_cobol_check_acblib
- include_role:
name: ims_cobol_copy_acblib_to_inactive_acb
# Compile and link Cobol and load programs
- include_role:
name: ims_cobol_compile_link_cobol
# Create dynamic allocation
- include_role:
name: ims_cobol_create_dynamic_alloc
# Load data
- include_role:
name: ims_cobol_load_accounts
- include_role:
name: ims_cobol_load_customer_accounts
- include_role:
name: ims_cobol_load_customer_data
- include_role:
name: ims_cobol_load_history
- include_role:
name: ims_cobol_load_tsta
# Register Db to Recons
- include_role:
name: ims_cobol_register_db_to_recons
# Create and start IMS databases
- include_role:
name: ims_cobol_define_ims_databases
# Create and start IMS application resources - Pgms, Trans
- include_role:
name: ims_cobol_define_app_resources
# Define and start the MPP Region
- include_role:
name: ims_cobol_define_mpp_region
vars:
mpp: true