The evidence file
When an Ansible® or a Python building block is run to deploy to the target z/OS® environment, it collects pieces of information that are produced by the steps of the deployment plan. These pieces of information are collected in an evidence file.
This evidence file contains pieces of information that can be queried after the deployment to analyze the Wazi Deploy deployment process and result. To understand how you can query the content of this file, see Analyzing the deployment results.
name
in the metadata of the
Python environment variables file. The evidence file is stored in a folder named
evidences. zos_env_test
and if the
deployment completed on 10 May 2023 at 12h45m30s, the complete path of the evidence file is
./evidences/zos_env_test_evidences_20230510_124530.yml.Structure and parameters
- The metadata level.
- The status level.
- The activities level. An activity_result is embedded in the activities level.
- The actions level inside each activities level. An action_result is embedded in the actions level.
- The steps level inside each actions level. A step_result is embedded in the step level. A results level is embedded in the step_result level to represent the tasks (run by the building blocks).
- The artifacts and filtered_artifacts levels inside the steps level if the step applies to artifacts.
- The manifests level.
The parameters are grouped and explained according to their level in the structure of the evidence file.
The metadata
level
- metadata
- The metadata of the generated deployment plan
that drove the deployment and the metadata of the deployment context. The metadata that comes from the deployment plan includes but are not restricted to the following fields:
- name
The name of the application that the deployment plan applies to.
- description
The optional description of the application that the deployment plan applies to.
- version
The version of the application to be deployed.
- annotations
The annotations level typically contains the following fields but it can also contain any valid YAML properties that are present in the deployment method and carried over to the deployment plan.
- creationTimestamp
The timestamp for the generation of this file.
- engine
The information about the Wazi Deploy version.
- package
- path
The path to the package file (package.tar) that contains the artifacts of the application to be deployed to the target z/OS environment.
- sha256
The unique hash code of the application package file to be deployed. It constitutes the hash code that is associated with each artifact of the package.
It is used by some building blocks such as package.
- path
- runtime_context
For Python, the IBM Z Open Automation Utilities (ZOAU) version.
For Ansible, the generic environment variables, the versions of the Ansible collections (zos_core, community_general, zos_cics if applicable, and zos_ism if applicable), and the IBM Z Open Automation Utilities (ZOAU) version.
- creationTimestamp
The metadata that is related to the deployment context includes but is not restricted to the environment name and the deployment timestamp.
- name
The status
level
- status
- The overall status of the deployment.
- Values:
Ok
orFailed
- Values:
The activities
, actions
, or steps
level
- activities, actions, or steps
- The activities level represents a set of ordered actions, the
actions level represents the ordered list of the actions to be completed for
the activity, and the steps level represents the commands that are part of each
action. The following fields come from and are documented in the The deployment method.
- name
- short_name (if present in the deployment method)
- description (if present in the deployment method)
- properties
- tags (if present in the deployment method)
- plan_tags (if present in the deployment method)
- when instruction for conditional processing (if present in the deployment method)
- loop instruction for conditional processing (if present in the deployment method)
- jumps_when instruction for conditional processing (if present in the deployment method)
- failed_when instruction for conditional processing (if present in the deployment method)
- rescue instruction for conditional processing (if present in the deployment method)
Besides the information that comes from the deployment method, the evidence file also contains the following information:- activity_result, action_result, or step_result
- The result of the current activity, action, step, or task,
according to the current level in the evidence file. It
is constituted of the following fields:
- statusThe execution status, which can have the following values:
Ok
.Failed
.Skipped
. Such can be the case in the following cases:- The activity, action, step, or task was excluded from the deployment because a tags or plan_tags parameter in the deployment method.
- The activity, action, step, or task was not run because of the result of a conditional
deployment. Such is the case when the when
condition returned
False
.
A
skip_reason
message is displayed to explain why the execution was skipped.
- msg
The message that details what the activity, action, step, or task, according to the current level in the evidence file, consisted of and whether it was successful.
- jumped_toThe target location and the exit return code (if present) that the current activity, action, or step jumped to during its execution. This jumped_to level is displayed when a
jumps_when
orrescue
conditional instruction was run on the current activity, action, or step. For more information, see Syntax of the conditional deployment.jumped_to: origin: jumps_when / rescue target_location: action_short_name: member_restore activity_short_name: member_restore step_short_name: member_restore exit_return_code: -1
- status
- loop_index
-
Iteration number of the activity, action, or step, according to the current level in the evidence file. This field is present if a loop instruction was declared on the activity, action, or step.
The first iteration is 0. The second iteration is 1.
- jumped_from
-
The source location and exit return code (if present) that the activity, action, or step jumped from during its execution. This jumped_from level is displayed when a
jumps_when
orrescue
conditional instruction was run on a previous activity, action, or step. For more information, see Syntax of the conditional deployment.jumped_from: origin: jumps_when / rescue source_location: action_short_name: deploy_modules activity_short_name: deploy_modules step_short_name: member_copy exit_return_code: -1
The artifacts
and filtered_artifacts
levels
- artifacts and filtered_artifacts
- The artifacts level displays the artifacts that were deployed to the target
z/OS environment when the step was run. The artifacts are
sorted alphabetically.
The filtered_artifacts level is generated if Deployment filters have been indicated. It displays, for traceability purposes, the artifacts that were excluded from the deployment because of these filters. The contents of the include and exclude filters are reminded.
- name
The name of the deployed artifact.
- description
The optional description of the deployed artifact in the deployment plan.
- hash
The hash code that uniquely identifies the deployment of the artifact.
- properties
The path to the artifact in the package file and the type of the artifact, as it is declared in the deployment method.
- include_patterns (only for the filtered_artifacts
level)The content of the
include_patterns
filter. For example, the following lines correspond to a filter that includes only the artifacts whose name containsLGA
:include_patterns: - .LGA.
- exclude_patterns (only for the filtered_artifacts
level)The content of the
exclude_patterns
filter. For example, For example, the following lines correspond to a filter that excludes the artifacts with aDBRM
extension:exclude_patterns: - .*\.DBRM
- name
The results
level
- results
- A results level is embedded in the step_result level
to give information about the step execution. Each results level includes the following fields for each of the tasks that were run to complete the step:
- statusThe status of the step or task execution. The status can have the following values:
Ok
.Failed
.Skipped
.A
skip_reason
message is displayed to explain why the execution was skipped.
- msg
The message that details what the activity, action, step, or task, according to the current level in the evidence file, consisted of and whether it was successful.
- args
The arguments that were used to complete the task.
The args parameter is always present in the Python evidence file. In the Ansible evidence file, it is present only if the task calls an Ansible module.
- results
The result of the task execution. Its content varies according to the task and is different in Ansible and Python.
- status
The manifests
level
This level contains the information about The application manifest file that was used as input for the deployment.
Examples of evidence files
The following examples are two evidence files. They both correspond to the deployment of a new
LGIPOL02
CICS® load module. The cics_cmci_prog_create
building block defined the new load module and
installed it in the CICS environment and the member_copy
building block copied the new load module to the
target PDS.
The first evidence file was produced when the two building blocks were run by the Wazi Deploy Ansible translator. The second evidence file was produced when the two building blocks were run by the Wazi Deploy Python translator.
The evidences are identical in the two evidence files, except that for the Ansible evidence file contains two extra fields:
inventory_host_name
and ansible_host
.
apiVersion: deploy.ibm.com/v1
kind: Evidence
metadata:
name: GenAppCICS
description: GenAppCICS
version: 1.0.0
annotations:
creationTimestamp: 20221227.160606.347
engine:
version: '@version@'
build: '@build@'
date: '@date@'
package:
path: samples/environments/ansible/inputs/package.add.tar
sha256: 4e2c47c095f9fb8718d8b6fb99934a02cafa622e422aff7e36d3f08742e9d375
runtime_context:
zoau_version: 1.3.4.0
environment_name: tivlp02.pok.stglabs.ibm.com
deploy_timestamp: 20250217.165451.987
smf_record:
status: Ok
status: Ok
activities:
- name: PACKAGE
properties: []
actions:
- name: PACKAGE
properties: []
steps:
- name: PACKAGE
properties: []
artifacts: []
step_result:
status: Ok
msg: Expand package completed
results:
- status: Ok
msg: Succeeded to expand the package /tmp/wazi-deploy-vcorfmat-vcorfma/package.add.tar
to /tmp/wazi-deploy-vcorfmat-vcorfma/work on system os OS/390
results:
command: subprocess.run(['tar', '-xvf', '/tmp/wazi-deploy-vcorfmat-vcorfma/package.add.tar',
'-L', 'T', '-C', '/tmp/wazi-deploy-vcorfmat-vcorfma/work'], capture_output=True,
text=True)
rc: 0
duration: 0.11059904098510742
loop_index: 0
action_result:
status: Ok
msg: Ok
results: []
loop_index: 0
activity_result:
status: Ok
msg: Ok
results: []
loop_index: 0
tags:
- always
- name: DEPLOY_MODULES
properties:
- key: my_prop
value: my_value
actions:
- name: ADD
properties: []
steps:
- name: MEMBER_COPY
properties: []
artifacts:
- name: LGIPOL02
hash: 5f4f57d220b812d2a39c6ec34a56c7caa7be5802e03ff1ce04db82c30d2cc987
properties:
- key: path
value: CICSLOAD/LGIPOL02.CICSLOAD
- key: type
value: CICSLOAD
step_result:
status: Ok
msg: All items completed
results:
- status: Ok
msg: Create dataset NAZARE.WDEPLOY.PYTHON.LOADT successful
args:
pattern: .*\.CICSLOAD$
dataset: NAZARE.WDEPLOY.PYTHON.LOADT
spec:
type: LIBRARY
primary_space: 10CYL
secondary_space: 20CYL
record_format: U
record_length: 0
results:
command: 'datasets.create(name=NAZARE.WDEPLOY.PYTHON.LOADT, **{''primary_space'':
''10CYL'', ''secondary_space'': ''20CYL'', ''record_format'': ''U'',
''record_length'': 0, ''dataset_type'': ''LIBRARY''})'
rc: 0
response:
name: NAZARE.WDEPLOY.PYTHON.LOADT
organization: PO
record_format: U
volume: LP020F
type: PDSE
block_size: 0
record_length: 0
total_space: 8499600
- status: Ok
msg: Succeeded to copy /tmp/wazi-deploy-vcorfmat-vcorfma/work/CICSLOAD/LGIPOL02.CICSLOAD
to 'NAZARE.WDEPLOY.PYTHON.LOADT(LGIPOL02)'
args:
pattern: .*\.CICSLOAD$
dataset: NAZARE.WDEPLOY.PYTHON.LOADT
force_lock: true
aliases: true
is_load: true
is_binary: false
is_psb: false
is_dbd: false
is_asa_text: false
rename_subs: []
text_subs: []
use_native_copy: false
results:
command: 'datasets._copy(/tmp/wazi-deploy-vcorfmat-vcorfma/work/CICSLOAD/LGIPOL02.CICSLOAD,
NAZARE.WDEPLOY.PYTHON.LOADT(LGIPOL02), **{''options'': ''-XI''})'
result_command:
rc: 0
response_format: UTF-8
stdout_response: ''
stderr_response: ''
command: dcp -XI -- "/tmp/wazi-deploy-vcorfmat-vcorfma/work/CICSLOAD/LGIPOL02.CICSLOAD"
"NAZARE.WDEPLOY.PYTHON.LOADT(LGIPOL02)"
duration: 0.9311680793762207
loop_index: 0
action_result:
status: Ok
msg: Ok
results: []
loop_index: 0
activity_result:
status: Ok
msg: Ok
results: []
loop_index: 0
tags:
- deploy_modules
- name: CICS
properties: []
actions:
- name: ADD
properties: []
steps:
- name: PROG_CREATE
properties:
- key: template
value: cics_cmci_prog_create
artifacts:
- name: LGIPOL02
hash: 5f4f57d220b812d2a39c6ec34a56c7caa7be5802e03ff1ce04db82c30d2cc987
properties:
- key: path
value: CICSLOAD/LGIPOL02.CICSLOAD
- key: type
value: CICSLOAD
step_result:
status: Ok
msg: All items completed
results:
- status: Ok
msg: Add CICSDefinitionProgram succeeded for LGIPOL02
args:
context: CICS01
cmci_url: http://127.0.0.1:1490
cmci_user: ''
cmci_password: ''
timeout: '300'
csd_group: GENASAP
insecure: false
results:
command: 'session.request("POST", http://127.0.0.1:1490/CICSSystemManagement/CICSDefinitionProgram/CICS01?,
verify=True, timeout=300, body=<request><create><parameter name=''CSD''></parameter><attributes
name=''LGIPOL02'' csdgroup=''GENASAP''></attributes></create></request>, headers={''Content-Type'':
''application/xml''})'
rc: 200
response: b'<?xml version="1.0"?>\r\n<response xmlns="http://www.ibm.com/xmlns/prod/CICS/smw2int"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/CICS/smw2int
http://127.0.0.1:1490/CICSSystemManagement/schema/CICSSystemManagement.xsd"
version="3.0" connect_version="0550">\r\n\t<resultsummary api_response1="1024"
api_response2="0" api_response1_alt="OK" api_response2_alt="" recordcount="1"
displayed_recordcount="1" />\r\n\t<records>\r\n\t\t<cicsdefinitionprogram
_keydata="D3C7C9D7D6D3F0F200C7C5D5C1E2C1D740" api="CICSAPI" cedf="YES"
changeagent="CSDAPI" changeagrel="0720" changetime="2025-02-17T11:54:53.000000+00:00"
changeusrid="CICSUSER" concurrency="QUASIRENT" createtime="2025-02-17T11:54:53.000000+00:00"
csdgroup="GENASAP" datalocation="ANY" defver="0" desccodepage="0" description=""
dynamic="NO" execkey="USER" executionset="FULLAPI" hotpool="NO" jvm="NO"
jvmclass="" jvmprofile="" jvmserver="" language="N_A" name="LGIPOL02"
reload="NO" remotename="" remotesystem="" resident="NO" rsl=" 0"
status="ENABLED" transid="" usage="NORMAL" uselpacopy="NO" userdata1=""
userdata2="" userdata3="" />\r\n\t</records>\r\n</response>'
- status: Ok
msg: Install CICSDefinitionProgram succeeded for LGIPOL02
args:
context: CICS01
cmci_url: http://127.0.0.1:1490
cmci_user: ''
cmci_password: ''
timeout: '300'
csd_group: GENASAP
insecure: false
results:
command: 'session.request("PUT", http://127.0.0.1:1490/CICSSystemManagement/CICSDefinitionProgram/CICS01?CRITERIA=(NAME=''LGIPOL02'')&PARAMETER=CSDGROUP(GENASAP),
verify=True, timeout=300, body=<request><action name="CSDINSTALL"></action></request>, headers={''Content-Type'':
''application/xml''})'
rc: 200
response: b'<?xml version="1.0"?>\r\n<response xmlns="http://www.ibm.com/xmlns/prod/CICS/smw2int"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/CICS/smw2int
http://127.0.0.1:1490/CICSSystemManagement/schema/CICSSystemManagement.xsd"
version="3.0" connect_version="0550">\r\n\t<resultsummary api_response1="1024"
api_response2="0" api_response1_alt="OK" api_response2_alt="" recordcount="1"
displayed_recordcount="1" />\r\n\t<records>\r\n\t\t<cicsdefinitionprogram
_keydata="D3C7C9D7D6D3F0F200C7C5D5C1E2C1D740" api="CICSAPI" cedf="YES"
changeagent="CSDAPI" changeagrel="0720" changetime="2025-02-17T11:54:53.000000+00:00"
changeusrid="CICSUSER" concurrency="QUASIRENT" createtime="2025-02-17T11:54:53.000000+00:00"
csdgroup="GENASAP" datalocation="ANY" defver="0" desccodepage="0" description=""
dynamic="NO" execkey="USER" executionset="FULLAPI" hotpool="NO" jvm="NO"
jvmclass="" jvmprofile="" jvmserver="" language="N_A" name="LGIPOL02"
reload="NO" remotename="" remotesystem="" resident="NO" rsl=" 0"
status="ENABLED" transid="" usage="NORMAL" uselpacopy="NO" userdata1=""
userdata2="" userdata3="" />\r\n\t</records>\r\n</response>'
duration: 0.22109556198120117
loop_index: 0
action_result:
status: Ok
msg: Ok
results: []
loop_index: 0
activity_result:
status: Ok
msg: Ok
results: []
loop_index: 0
tags:
- cics
manifests:
- name: GenAppCICS
description: GenAppCICS
version: 1.0.0
annotations:
creationTimestamp: 20220731.100302.101
scm:
type: git
uri: git@github.com:jbyibm/cics-genapp.git
branch: HEAD
shortCommit: 7c612fce
dbb:
buildResultUri: https://zdevops-demo1.fyre.ibm.com:9443/dbb/rest/buildResult/40164
package:
name: sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops-main
properties:
- key: repoPath
value: sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops/sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops-main
uri: https://na.artifactory.swg-devops.com/ui/builds/sys-wazi-deploy-team%2F%2Fcics-genapp-plum-demo-zdevops-main/1
type: ARTIFACTORY
apiVersion: deploy.ibm.com/v1
kind: Evidence
metadata:
annotations:
creationTimestamp: 20221227.160606.347
engine:
build: '@build@'
date: '@date@'
version: '@version@'
package:
path: samples/environments/ansible/inputs/package.add.tar
sha256: 4e2c47c095f9fb8718d8b6fb99934a02cafa622e422aff7e36d3f08742e9d375
runtime_context:
LANG: C
LIBPATH: /SYSTEM/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/bin:/SYSTEM/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/lib:/SYSTEM/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/bin:/SYSTEM/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/lib:/var/usr/lpp/IBM/zoautil/v1.3.4.0/lib:/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/lib:/lib:/usr/lib:/lib:/lib:/usr/lib:/lib:/usr/lib
PATH: /var/usr/lpp/IBM/zoautil/v1.3.4.0/bin:/var/imsapp/python/usr/lpp/IBM/cyp/v3r13/pyz/bin:/bin:/var/bin
PYTHONSTDINENCODING: cp1047
ZOAU_HOME: /var/usr/lpp/IBM/zoautil/v1.3.4.0
_BPXK_AUTOCVT: 'ON'
_CEE_RUNOPTS: FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
_TAG_REDIR_ERR: txt
_TAG_REDIR_IN: txt
_TAG_REDIR_OUT: txt
ansible_community_general_version: 7.0.1
ansible_core_version: 1.12.0
ansible_zos_cics_version: 1.0.6
ansible_zos_ims_version: 1.3.0
zoau_version: 1.3.4.0
environment_name: zos_host_01
deploy_timestamp: 20250217.164252.951
inventory_hostname: zos_host_01
ansible_host: zdevops-demo1.fyre.ibm.com
description: GenAppCICS
name: GenAppCICS
version: 1.0.0
status: Ok
msg: ''
activities:
- name: PACKAGE
actions:
- name: PACKAGE
steps:
- name: PACKAGE
step_result:
status: Ok
msg: 'package.yml : Ok'
results:
- status: Ok
msg: 'package.yml line 14 : ibm.ibm_zos_wazi_deploy.zos_deploy : set_fact'
results:
register: None
result:
ansible_facts:
wd_package_is_remote: true
- status: Skipped
msg: 'package.yml line 17 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Set the package location'
results:
register: None
result:
false_condition: wd_package_file is not defined
skip_reason: Conditional result was False
- status: Ok
msg: 'package.yml line 22 : ibm.ibm_zos_wazi_deploy.zos_deploy : [package>package>package]:
Check if /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
exists'
args:
checksum_algorithm: sha256
path: /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
results:
register: wd_payload_st
result:
invocation:
module_args:
checksum_algorithm: sha256
follow: false
get_attributes: true
get_checksum: true
get_md5: false
get_mime: true
path: /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
stat:
atime: 1739810491.0485246
attr_flags: ''
attributes: []
block_size: 4096
blocks: 144
charset: binary
checksum: 4e2c47c095f9fb8718d8b6fb99934a02cafa622e422aff7e36d3f08742e9d375
ctime: 1672738677.360953
dev: 14
device_type: 0
executable: true
exists: true
gid: 1000
gr_name: vcorfmat
inode: 34621422135435415
isblk: false
ischr: false
isdir: false
isfifo: false
isgid: false
islnk: false
isreg: true
issock: false
isuid: false
mimetype: application/x-tar
mode: '0777'
mtime: 1672738677.214396
nlink: 1
path: /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
pw_name: vcorfmat
readable: true
rgrp: true
roth: true
rusr: true
size: 71680
uid: 1000
wgrp: true
woth: true
writeable: true
wusr: true
xgrp: true
xoth: true
xusr: true
- status: Ok
msg: 'package.yml line 29 : ibm.ibm_zos_wazi_deploy.zos_deploy : [package>package>package]:
Verify the deployment plan package section /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar'
results:
register: None
result:
failed_when_result: false
msg: The deployment plan package section is not resent in the deployment
plan!!
- status: Ok
msg: 'package.yml line 36 : ibm.ibm_zos_wazi_deploy.zos_deploy : [package>package>package]:
Verify the checksum of the package /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar'
results:
register: None
result:
failed_when_result: false
msg: The current package checksum 4e2c47c095f9fb8718d8b6fb99934a02cafa622e422aff7e36d3f08742e9d375
differ from the checksum in the deployment plan 4e2c47c095f9fb8718d8b6fb99934a02cafa622e422aff7e36d3f08742e9d375
- status: Ok
msg: 'package.yml line 43 : ibm.ibm_zos_wazi_deploy.zos_deploy : [package>package>package]:
Send /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
to USS: /tmp/wd_deploy/vcorfma/zos_host_01'
args:
dest: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r
src: /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
results:
register: None
result:
checksum: 9fe2f7d8c8d6772b8c9cc5d7461f44f1b2b05986
dest: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/package.add.tar
diff: []
gid: 100
group: OMVS
invocation:
module_args:
_original_basename: package.add.tar
backup: false
checksum: 9fe2f7d8c8d6772b8c9cc5d7461f44f1b2b05986
dest: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r
follow: false
force: true
src: /u/vcorfma/.ansible/tmp/ansible-tmp-1739810579.808269-3502-62571358366011/source
unsafe_writes: false
md5sum: 47e8706395692d47d4201dca58b2f6fc
mode: '0644'
owner: VCORFMA
size: 71680
src: /u/vcorfma/.ansible/tmp/ansible-tmp-1739810579.808269-3502-62571358366011/source
state: file
uid: 10149
- status: Ok
msg: 'package.yml line 49 : ibm.ibm_zos_wazi_deploy.zos_deploy : [package>package>package]:
Extract /mnt/c/Users/058275706/git/wazi-deploy-samples/samples/environments/ansible/inputs/package.add.tar
on USS'
args:
_raw_params: |-
set +e
tar -C /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -xf /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*.tar -L T 2>/tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log
if [ $(grep -v "cannot set uid.gid" /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | wc -w) -eq 0 ]
then
#chtag -r $(find /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -type f)
chown -R $USER /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*
exit 0
else
cat /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | iconv -f ibm-1047 -t utf-8
exit -1
fi
_uses_shell: true
results:
register: None
result:
cmd: |-
set +e
tar -C /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -xf /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*.tar -L T 2>/tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log
if [ $(grep -v "cannot set uid.gid" /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | wc -w) -eq 0 ]
then
#chtag -r $(find /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -type f)
chown -R $USER /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*
exit 0
else
cat /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | iconv -f ibm-1047 -t utf-8
exit -1
fi
delta: '0:00:00.035803'
end: '2025-02-17 11:43:10.686834'
invocation:
module_args:
_raw_params: |-
set +e
tar -C /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -xf /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*.tar -L T 2>/tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log
if [ $(grep -v "cannot set uid.gid" /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | wc -w) -eq 0 ]
then
#chtag -r $(find /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r -type f)
chown -R $USER /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/*
exit 0
else
cat /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/zos_host_01.tar.log | iconv -f ibm-1047 -t utf-8
exit -1
fi
_uses_shell: true
stdin_add_newline: true
strip_empty_ends: true
msg: ''
rc: 0
start: '2025-02-17 11:43:10.651031'
stderr: ''
stderr_lines: []
stdout: ''
stdout_lines: []
- status: Skipped
msg: 'package.yml line 64 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Extract {{ wd_package_file }} locally to {{wd_deploy_dir_local}}'
results:
register: None
result:
false_condition: wd_payload_st.stat.exists and wd_package_is_remote
| bool == False
skip_reason: Conditional result was False
duration: 11.92106749999948
loop_index: 0
description: None
action_result:
status: Ok
msg: Ok
loop_index: 0
description: None
activity_result:
status: Ok
msg: Ok
loop_index: 0
description: None
tags:
- always
- name: DEPLOY_MODULES
properties:
- key: my_prop
value: my_value
actions:
- name: ADD
steps:
- name: MEMBER_COPY
artifacts:
- hash: 5f4f57d220b812d2a39c6ec34a56c7caa7be5802e03ff1ce04db82c30d2cc987
name: LGIPOL02
properties:
- key: path
value: CICSLOAD/LGIPOL02.CICSLOAD
- key: type
value: CICSLOAD
step_result:
status: Ok
msg: 'member_copy.yml : Ok'
results:
- status: Ok
msg: 'member_copy.yml line 13 : ibm.ibm_zos_wazi_deploy.zos_deploy : set_fact'
results:
register: None
result:
ansible_facts:
wd_artifact_subs_list: []
wd_copy_list_directories: []
wd_copy_list_items:
- aliases: true
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
fingerprint: ''
force_lock: true
is_asa_text: false
is_binary: true
is_load: true
is_sequential: false
is_uss: false
name: LGIPOL02
normalized_dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
normalized_src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
type:
aliases: true
cics_systems:
- cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
copy_by_folder: false
force_lock: true
is_load: true
pds:
backup: NAZARE.WDEPLOY.ANSIBLE.BACK.LOADT
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
spec:
record_format: U
record_length: 0
space_primary: 10
space_secondary: 20
space_type: CYL
type: LIBRARY
type: cicsload
use_native_copy: false
use_native_copy: false
wd_copy_list_types:
- aliases: true
cics_systems:
- cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
copy_by_folder: false
force_lock: true
is_load: true
pds:
backup: NAZARE.WDEPLOY.ANSIBLE.BACK.LOADT
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
spec:
record_format: U
record_length: 0
space_primary: 10
space_secondary: 20
space_type: CYL
type: LIBRARY
type: cicsload
use_native_copy: false
- status: Ok
msg: 'member_copy.yml line 22 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Create destination PDS(s)'
results:
register: None
result:
msg: All items completed
results:
- ansible_loop_var: wd_type
include: task_zos_data_set.yml
include_args: {}
wd_type:
aliases: true
cics_systems:
- cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
copy_by_folder: false
force_lock: true
is_load: true
pds:
backup: NAZARE.WDEPLOY.ANSIBLE.BACK.LOADT
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
spec:
record_format: U
record_length: 0
space_primary: 10
space_secondary: 20
space_type: CYL
type: LIBRARY
type: cicsload
use_native_copy: false
- status: Ok
msg: 'task_zos_data_set.yml line 15 : ibm.ibm_zos_wazi_deploy.zos_deploy
: set_fact'
results:
register: None
result:
ansible_facts:
wd_ignore_errors_var: false
- status: Ok
msg: 'task_zos_data_set.yml line 18 : ibm.ibm_zos_wazi_deploy.zos_deploy
: [deploy_modules>add>member_copy]: Manage data set NAZARE.WDEPLOY.ANSIBLE.LOADT'
args:
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
record_format: u
record_length: '0'
space_primary: '10'
space_secondary: '20'
space_type: cyl
type: library
results:
register: wd_zos_module_result
result:
invocation:
module_args:
force: false
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
record_format: u
record_length: 0
replace: false
space_primary: 10
space_secondary: 20
space_type: cyl
state: present
type: library
message: ''
names:
- NAZARE.WDEPLOY.ANSIBLE.LOADT
- status: Skipped
msg: 'member_copy.yml line 46 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Substitute text in the member(s)'
results:
register: None
result:
false_condition: wd_artifact_subs_list | length > 0
skip_reason: Conditional result was False
- status: Ok
msg: 'member_copy.yml line 51 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Copy the member(s) to destination PDS(s)'
results:
register: None
result:
msg: All items completed
results:
- ansible_loop_var: item
include: task_zos_copy.yml
include_args: {}
item:
aliases: true
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
fingerprint: ''
force_lock: true
is_asa_text: false
is_binary: true
is_load: true
is_sequential: false
is_uss: false
name: LGIPOL02
normalized_dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
normalized_src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
type:
aliases: true
cics_systems:
- cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
copy_by_folder: false
force_lock: true
is_load: true
pds:
backup: NAZARE.WDEPLOY.ANSIBLE.BACK.LOADT
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
spec:
record_format: U
record_length: 0
space_primary: 10
space_secondary: 20
space_type: CYL
type: LIBRARY
type: cicsload
use_native_copy: false
use_native_copy: false
- status: Ok
msg: 'task_zos_copy.yml line 15 : ibm.ibm_zos_wazi_deploy.zos_deploy : set_fact'
results:
register: None
result:
ansible_facts:
wd_asa_text: false
wd_force_lock: true
wd_ignore_errors_var: false
- status: Skipped
msg: 'task_zos_copy.yml line 20 : ibm.ibm_zos_wazi_deploy.zos_deploy : Warning
- for asa text'
results:
register: None
result:
false_condition: wd_asa_text == True
skip_reason: Conditional result was False
- status: Ok
msg: 'task_zos_copy.yml line 27 : ibm.ibm_zos_wazi_deploy.zos_deploy : [deploy_modules>add>member_copy]:
Copy /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
to NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)'
args:
aliases: true
asa_text: false
backup: false
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
executable: true
force: true
force_lock: true
is_binary: false
remote_src: true
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
results:
register: wd_zos_module_result
result:
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
failed_when_result: false
invocation:
module_args:
aliases: true
asa_text: false
backup: false
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
executable: true
force: true
force_lock: true
is_binary: false
remote_src: true
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
is_binary: false
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
- status: Skipped
msg: 'member_copy.yml line 72 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Copy the member(s) to destination PDS(s) - native copy'
results:
register: None
result:
msg: All items skipped
results:
- ansible_loop_var: item
changed: false
false_condition: item.type.use_native_copy is defined and item.type.use_native_copy
| bool == True
item:
aliases: true
dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
fingerprint: ''
force_lock: true
is_asa_text: false
is_binary: true
is_load: true
is_sequential: false
is_uss: false
name: LGIPOL02
normalized_dest: NAZARE.WDEPLOY.ANSIBLE.LOADT(LGIPOL02)
normalized_src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
src: /tmp/wd_deploy/vcorfma/zos_host_01/ansible.8dia6i4r/CICSLOAD/LGIPOL02.CICSLOAD
type:
aliases: true
cics_systems:
- cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
copy_by_folder: false
force_lock: true
is_load: true
pds:
backup: NAZARE.WDEPLOY.ANSIBLE.BACK.LOADT
name: NAZARE.WDEPLOY.ANSIBLE.LOADT
spec:
record_format: U
record_length: 0
space_primary: 10
space_secondary: 20
space_type: CYL
type: LIBRARY
type: cicsload
use_native_copy: false
use_native_copy: false
skip_reason: Conditional result was False
skipped: true
- status: Skipped
msg: 'member_copy.yml line 95 : ibm.ibm_zos_wazi_deploy.zos_deploy : [{{current_step_name}}]:
Copy the folder(s) to destination PDS(s)'
results:
register: None
result:
results: []
skipped_reason: No items in the list
duration: 6.496179000001575
loop_index: 0
description: None
action_result:
status: Ok
msg: Ok
loop_index: 0
description: None
activity_result:
status: Ok
msg: Ok
loop_index: 0
description: None
tags:
- deploy_modules
- name: CICS
actions:
- name: ADD
steps:
- name: PROG_CREATE
properties:
- key: template
value: cics_cmci_prog_create
artifacts:
- hash: 5f4f57d220b812d2a39c6ec34a56c7caa7be5802e03ff1ce04db82c30d2cc987
name: LGIPOL02
properties:
- key: path
value: CICSLOAD/LGIPOL02.CICSLOAD
- key: type
value: CICSLOAD
step_result:
status: Ok
msg: 'cics_cmci_prog_create.yml : Ok'
results:
- status: Ok
msg: 'cics_cmci_prog_create.yml line 13 : ibm.ibm_zos_wazi_deploy.zos_deploy
: set_fact'
results:
register: None
result:
ansible_facts:
wd_cics_cmci_prog_create_list_items:
- cics_system:
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
name: LGIPOL02
- status: Ok
msg: 'cics_cmci_prog_create.yml line 19 : ibm.ibm_zos_wazi_deploy.zos_deploy
: [{{current_step_name}}]: Define new PROGRAM(s) in CICS'
results:
register: None
result:
msg: All items completed
results:
- ansible_loop_var: item
include: task_cmci_create.yml
include_args: {}
item:
cics_system:
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
name: LGIPOL02
- status: Ok
msg: 'task_cmci_create.yml line 15 : ibm.ibm_zos_wazi_deploy.zos_deploy
: set_fact'
results:
register: None
result:
ansible_facts:
wd_ignore_errors_var: false
- status: Ok
msg: 'task_cmci_create.yml line 18 : ibm.ibm_zos_wazi_deploy.zos_deploy
: [cics>add>prog_create]: Create CICS definition for {''name'': ''LGIPOL02'',
''csdgroup'': ''GENASAP''}'
args:
attributes:
csdgroup: GENASAP
name: LGIPOL02
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: '1490'
cmci_user: vcorfma
context: CICS01
create_parameters:
- name: CSD
insecure: true
scheme: http
timeout: '300'
type: CICSDefinitionProgram
results:
register: wd_zos_module_result
result:
connect_version: '0550'
cpsm_reason: ''
cpsm_reason_code: 0
cpsm_response: OK
cpsm_response_code: 1024
http_status: OK
http_status_code: 200
invocation:
module_args:
attributes:
csdgroup: GENASAP
name: LGIPOL02
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
create_parameters:
- name: CSD
insecure: true
scheme: http
timeout: 300
type: CICSDefinitionProgram
record_count: 1
records:
- _keydata: D3C7C9D7D6D3F0F200C7C5D5C1E2C1D740
api: CICSAPI
cedf: 'YES'
changeagent: CSDAPI
changeagrel: '0720'
changetime: '2025-02-17T11:43:25.000000+00:00'
changeusrid: CICSUSER
concurrency: QUASIRENT
createtime: '2025-02-17T11:43:25.000000+00:00'
csdgroup: GENASAP
datalocation: ANY
defver: '0'
desccodepage: '0'
description: ''
dynamic: 'NO'
execkey: USER
executionset: FULLAPI
hotpool: 'NO'
jvm: 'NO'
jvmclass: ''
jvmprofile: ''
jvmserver: ''
language: N_A
name: LGIPOL02
reload: 'NO'
remotename: ''
remotesystem: ''
resident: 'NO'
rsl: ' 0'
status: ENABLED
transid: ''
usage: NORMAL
uselpacopy: 'NO'
userdata1: ''
userdata2: ''
userdata3: ''
request:
body: <request><create><parameter name="CSD"></parameter><attributes
name="LGIPOL02" csdgroup="GENASAP"></attributes></create></request>
method: POST
url: http://zdevops-demo1.fyre.ibm.com:1490/CICSSystemManagement/cicsdefinitionprogram/CICS01/
- status: Ok
msg: 'cics_cmci_prog_create.yml line 42 : ibm.ibm_zos_wazi_deploy.zos_deploy
: [{{current_step_name}}]: Install new PROGRAM(s) in CICS'
results:
register: None
result:
msg: All items completed
results:
- ansible_loop_var: item
include: task_cmci_action.yml
include_args: {}
item:
cics_system:
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
csd_group: GENASAP
insecure: true
scheme: http
timeout: 300
name: LGIPOL02
- status: Ok
msg: 'task_cmci_action.yml line 15 : ibm.ibm_zos_wazi_deploy.zos_deploy
: set_fact'
results:
register: None
result:
ansible_facts:
wd_ignore_errors_var: false
- status: Ok
msg: 'task_cmci_action.yml line 18 : ibm.ibm_zos_wazi_deploy.zos_deploy
: [cics>add>prog_create]: Perfom ''CSDINSTALL'' for ''LGIPOL02'' in CICS
Context ''CICS01'''
args:
action_name: CSDINSTALL
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: '1490'
cmci_user: vcorfma
context: CICS01
insecure: true
resources:
filter:
NAME: LGIPOL02
get_parameters:
- name: CSDGROUP
value: GENASAP
scheme: http
timeout: '300'
type: CICSDefinitionProgram
results:
register: wd_zos_module_result
result:
connect_version: '0550'
cpsm_reason: ''
cpsm_reason_code: 0
cpsm_response: OK
cpsm_response_code: 1024
http_status: OK
http_status_code: 200
invocation:
module_args:
action_name: CSDINSTALL
cmci_host: zdevops-demo1.fyre.ibm.com
cmci_password: '***'
cmci_port: 1490
cmci_user: vcorfma
context: CICS01
insecure: true
resources:
filter:
NAME: LGIPOL02
get_parameters:
- name: CSDGROUP
value: GENASAP
scheme: http
timeout: 300
type: CICSDefinitionProgram
record_count: 1
records:
- _keydata: D3C7C9D7D6D3F0F200C7C5D5C1E2C1D740
api: CICSAPI
cedf: 'YES'
changeagent: CSDAPI
changeagrel: '0720'
changetime: '2025-02-17T11:43:25.000000+00:00'
changeusrid: CICSUSER
concurrency: QUASIRENT
createtime: '2025-02-17T11:43:25.000000+00:00'
csdgroup: GENASAP
datalocation: ANY
defver: '0'
desccodepage: '0'
description: ''
dynamic: 'NO'
execkey: USER
executionset: FULLAPI
hotpool: 'NO'
jvm: 'NO'
jvmclass: ''
jvmprofile: ''
jvmserver: ''
language: N_A
name: LGIPOL02
reload: 'NO'
remotename: ''
remotesystem: ''
resident: 'NO'
rsl: ' 0'
status: ENABLED
transid: ''
usage: NORMAL
uselpacopy: 'NO'
userdata1: ''
userdata2: ''
userdata3: ''
request:
body: <request><action name="CSDINSTALL"></action></request>
method: PUT
url: http://zdevops-demo1.fyre.ibm.com:1490/CICSSystemManagement/cicsdefinitionprogram/CICS01/?CRITERIA=%28NAME%3D%27LGIPOL02%27%29&PARAMETER=CSDGROUP%28GENASAP%29
duration: 4.535488100002112
loop_index: 0
description: None
action_result:
status: Ok
msg: Ok
loop_index: 0
description: None
activity_result:
status: Ok
msg: Ok
loop_index: 0
description: None
tags:
- cics
manifests:
- annotations:
creationTimestamp: 20220731.100302.101
dbb:
buildResultUri: https://zdevops-demo1.fyre.ibm.com:9443/dbb/rest/buildResult/40164
package:
name: sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops-main
properties:
- key: repoPath
value: sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops/sys-wazi-deploy-team//cics-genapp-plum-demo-zdevops-main
type: ARTIFACTORY
uri: https://na.artifactory.swg-devops.com/ui/builds/sys-wazi-deploy-team%2F%2Fcics-genapp-plum-demo-zdevops-main/1
scm:
branch: HEAD
shortCommit: 7c612fce
type: git
uri: git@github.com:jbyibm/cics-genapp.git
description: GenAppCICS
name: GenAppCICS
version: 1.0.0