-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathzos_host.yml
85 lines (70 loc) · 3.58 KB
/
zos_host.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
83
84
85
---
################################################################################
# Description of the properties used in this configuration:
# - Property `PYZ` is the python installation home path on the z/OS managed node (target),
# e.g, pyz: "/usr/lpp/IBM/cyp/v3r8/pyz"
# - Property `ZOAU` is the ZOAU installation home on the z/OS managed node (target),
# e.g, zoau: "/usr/lpp/IBM/zoautil"
# - Property `JAVA` is the Java installation home on the z/OS managed node (target),
# e.g, JAVA: "/usr/lpp/java170/J7.0_64"
# - property `ansible_python_interpreter` is the z/OS managed node (target) Python
# binary installation path, e.g, ansible_python_interpreter: "{{PYZ}}/bin/python3"
#
# Note, PYZ, ZOAU, and JAVA environment variables must be configured.
################################################################################
# the path to the root of IBM python installation
PYZ: "path_to_python_installation_on_zos_target"
################################################################################
# Do not configure, variable substituion will correctly set the
# variable`ansible_python_interpreter`
################################################################################
ansible_python_interpreter: "{{PYZ}}/bin/python3"
# the path to root of ZOAU installation
ZOAU: "path_to_zoau_installation_on_zos_target"
# the path to the root of Java installation
JAVA: "path_to_java_installation_on_zos_target"
environment_vars:
_BPXK_AUTOCVT: "ON"
ZOAU: "{{ZOAU}}/bin"
ZOAU_HOME: "{{ ZOAU }}"
PYTHONPATH: "{{ ZOAU }}/lib"
LIBPATH: "{{ ZOAU }}/lib:{{ PYZ }}/lib:/lib:/usr/lib:."
PATH: "{{ ZOAU }}/bin:{{ PYZ }}/bin:/bin:/var/bin:{{JAVA}}"
JAVA_HOME: "{{JAVA}}"
_CEE_RUNOPTS: "FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
_TAG_REDIR_ERR: "txt"
_TAG_REDIR_IN: "txt"
_TAG_REDIR_OUT: "txt"
LANG: "C"
PYTHONSTDINENCODING: "cp1047"
WLP_USER_DIR: "/u/oeusr01"
WLP_OUTPUT_DIR: "u/oeusr01/servers"
# ---------------------------------------------------------------------------- #
# Liberty related variables #
# ---------------------------------------------------------------------------- #
server_instance_name: ansible_sample
liberty_path: '/usr/lpp/zWAS/WAS900/Liberty/V19R00'
liberty_bin_path: '{{liberty_path}}/bin'
liberty_server_path: '{{environment_vars.WLP_USER_DIR}}/servers/{{server_instance_name}}'
# ---------------------------------------------------------------------------- #
# User information for STARTED profiles #
# ---------------------------------------------------------------------------- #
TARGET_USER: target_user
USER_GROUP: user_group
# Procedure library for JCL Procedure template
PROC_LIB: USER.PRIVATE.PROCLIB
# Name of server procedure for STARTED profile
SERVER_PROC: WLPSRV1
# Name of angel process procedure for STARTED profile
ANGEL_PROC: WLPANGL
# Name for zFS dataset to be mounted to user directory
data_set_name: targetuser.liberty.zfs
# ---------------------------------------------------------------------------- #
# Playbook customization variables #
# ---------------------------------------------------------------------------- #
# Boolean value to determine if configure_server role runs -- transfers optional configuration files
CUSTOMIZE: false
# Boolean value to determine if the angel process related roles run -- creates started profiles for angel process and starts angel process
ANGEL: false
# Boolean value to determine if the authorized_services role runs -- enables z/OS authorized services
AUTHORIZED_SERVICES: false