Skip to content

Commit 7f24757

Browse files
cssh-erikandrewhughes101
authored andcommitted
expand example
1 parent 1d6ec08 commit 7f24757

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/source/playbooks.rst

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ credentials of the **cmci_get** module to be the same throughout the playbook.
193193
194194
195195
If you want to use the same values in **all** CMCI modules, you can assign them
196-
to the group called **cmci_group**.
196+
to the group called **cmci**.
197197

198198
.. code-block:: yaml
199199
200200
module_defaults:
201-
group/ibm.ibm_zos_cics.cmci_group:
201+
group/ibm.ibm_zos_cics.cmci:
202202
cmci_host: "my.system.host"
203203
cmci_port: "system.port.number"
204204
cmci_user: "my.username"
@@ -207,8 +207,8 @@ to the group called **cmci_group**.
207207
208208
Likewise, you can easily apply a default set of CICS TS data sets and utilities for the provisioning or de-provisioning of CICS regions.
209209
If you want to use the same values in **all** CICS TS data set provisioning modules, you can assign them to the group called **region_group**.
210-
For example, the following **module_defaults** example indicates that the SDFHLOAD library of the CICS installation is created by default using the templated location of
211-
``CTS610.CICS740.<< data_set_name >>``, and the region data sets are to be created by using the templated location of ``{{ansible_user}}.REGIONS.{{applid}}.<< data_set_name >>``.
210+
The following **module_defaults** example illustrates the use of a templated location for some data sets and a user-specified name for
211+
some other data sets instead of the template.
212212

213213
.. code-block:: yaml
214214
@@ -217,8 +217,19 @@ For example, the following **module_defaults** example indicates that the SDFHLO
217217
state: initial
218218
cics_data_sets:
219219
template: "CTS610.CICS740.<< data_set_name >>"
220+
sdfhauth: "CICSTS61.OVERRDE.TEMPLT.SDFHAUTH"
220221
region_data_sets:
221222
template: "{{ansible_user}}.REGIONS.{{applid}}.<< data_set_name >>"
223+
dfhgcd: "REGIONS.{{applid}}.GCD"
224+
225+
The **cics_data_sets** parameter defines the data set names of the SDFHAUTH, SDFHLOAD and SDFHLIC libraries. These libraries can be used by
226+
multiple CICS regions. In this example, the SDFHLOAD and SDFHLIC libraries are created by default using the templated location
227+
of ``CTS610.CICS740.<< data_set_name >>``, so their data set names are ``CTS610.CICS740.SDFHLOAD`` and ``CTS610.CICS740.SDFHLIC`` respectively.
228+
However, SDFHAUTH is created with the data set name of ``CICSTS61.OVERRDE.TEMPLT.SDFHAUTH``, overriding the template.
229+
230+
The **region_data_sets** parameter defines the data sets that are used by a single CICS region. In this example, all the region data sets except
231+
DFHGCD are created by default using the templated location of ``{{ansible_user}}.REGIONS.{{applid}}.<< data_set_name >>``, while DFHGCD is created
232+
with the data set name of ``REGIONS.{{applid}}.GCD``, overriding the template.
222233

223234

224235
.. note::

0 commit comments

Comments
 (0)