|
54 | 54 |
|
55 | 55 |
|
56 | 56 | EXAMPLES = r"""
|
57 |
| -- name: get 2 LOCFILEs from a CICSplex |
| 57 | +- name: Get 2 LOCFILEs from a CICSplex |
58 | 58 | cmci_get:
|
59 | 59 | cmci_host: "example.com"
|
60 | 60 | cmci_port: 12345
|
61 |
| - cmci_user: "ibmuser" |
| 61 | + cmci_user: ibmuser |
62 | 62 | cmci_password: "123456"
|
63 |
| - context: "plex_or_applid" |
| 63 | + context: ABCDEFGH # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment |
64 | 64 | type: CICSLocalFile
|
65 | 65 | record_count: 2
|
66 |
| - resource: |
| 66 | + resources: |
67 | 67 | filter:
|
68 | 68 | dsname: "CTS*"
|
69 | 69 |
|
70 |
| -- name: get a localfile in a CICS region |
| 70 | +- name: Get a localfile in a CICS region |
71 | 71 | cmci_get:
|
72 | 72 | cmci_host: "example.com"
|
73 | 73 | cmci_port: 12345
|
74 | 74 | cmci_cert: "./sec/ansible.pem"
|
75 | 75 | cmci_key: "./sec/ansible.key"
|
76 |
| - context: "plex_or_applid" |
77 |
| - type: "CICSLocalFile" |
| 76 | + context: ABCDEFGH # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment |
| 77 | + type: CICSLocalFile |
78 | 78 | resources:
|
79 | 79 | filter:
|
80 | 80 | dsname: "XIAOPIN*"
|
81 | 81 | file: "DFH*"
|
82 | 82 | record_count: 1
|
83 | 83 |
|
84 |
| -- name: get a progdef from a CSD |
| 84 | +- name: Get a progdef from CSD |
85 | 85 | cmci_get:
|
86 | 86 | cmci_host: "example.com"
|
87 | 87 | cmci_port: 12345
|
88 | 88 | cmci_cert: "./sec/ansible.pem"
|
89 | 89 | cmci_key: "./sec/ansible.key"
|
90 |
| - context: "plex_or_applid" |
| 90 | + context: ABCDEFGH # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment |
91 | 91 | type: cicsdefinitionprogram
|
92 | 92 | resources:
|
93 | 93 | filter:
|
|
97 | 97 | value: MYGRP
|
98 | 98 | record_count: 1
|
99 | 99 |
|
100 |
| -- name: pass module even if bundle definition is not found |
| 100 | +- name: Ignore errors when bundle definition is not found |
101 | 101 | cmci_get:
|
102 | 102 | cmci_host: "example.com"
|
103 | 103 | cmci_port: 12345
|
104 | 104 | cmci_cert: "./sec/ansible.pem"
|
105 | 105 | cmci_key: "./sec/ansible.key"
|
106 |
| - context: "plex_or_applid" |
| 106 | + context: ABCDEFGH # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment |
| 107 | + scope: IJKLMNOP # scope only applies if you're in a CPSM environment and is either the name of a CICS system definition (CSYSDEF) or CICS system group (CSYSGRP) |
107 | 108 | type: cicsdefinitionbundle
|
108 | 109 | resources:
|
109 | 110 | filter:
|
|
112 | 113 | - name: csdgroup
|
113 | 114 | value: MYGRP
|
114 | 115 | record_count: 1
|
115 |
| - fail_on_nodata: "false" |
| 116 | + fail_on_nodata: false |
116 | 117 |
|
117 | 118 | - name: Using complex_filter to combine filter expressions and change operators
|
118 | 119 | cmci_get:
|
119 | 120 | cmci_host: "example.com"
|
120 | 121 | cmci_port: 12345
|
121 | 122 | cmci_cert: "./sec/ansible.pem"
|
122 | 123 | cmci_key: "./sec/ansible.key"
|
123 |
| - context: "plex_or_applid" |
124 |
| - type: "CICSRegion" |
| 124 | + context: ABCDEFGH # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment |
| 125 | + type: CICSRegion |
125 | 126 | resources:
|
126 | 127 | complex_filter:
|
127 | 128 | or:
|
|
0 commit comments