Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing attributes to examples. #148

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions docs/source/modules/cmci_action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Examples
cmci_action:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSProgram"
action_name: NEWCOPY
resource:
Expand All @@ -374,16 +374,14 @@ Examples
- name: install a bundle in a CICS region
cmci_action:
cmci_host: "example.com"
cmci_port: "12345"
Strange-Satwik marked this conversation as resolved.
Show resolved Hide resolved
context: "plex_or_applid"
Strange-Satwik marked this conversation as resolved.
Show resolved Hide resolved
type: CICSBundle
action_name: install
resource:
cmci_port: 1234
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
Strange-Satwik marked this conversation as resolved.
Show resolved Hide resolved
type: "CICSBundle"
action_name: DISABLE
resources:
filter:
name: "PONGALT"
action_parameters:
- name: "usage"
value: "local"
name: "bundle"



Expand Down
3 changes: 2 additions & 1 deletion docs/source/modules/cmci_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ Examples
cmci_create:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSDefinitionBundle"
scope: "CSYDEF/CSYSGRP" # 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)
attributes:
name: PONGALT
bundledir: /u/ibmuser/bundle/pong/pongbundle_1.0.0
Expand Down
7 changes: 4 additions & 3 deletions docs/source/modules/cmci_delete.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,18 +324,19 @@ Examples
cmci_delete:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSBundle
resource:
resources:
filter:
name: "PONGALT"

- name: delete a bundle definition in a CICS region
cmci_delete:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSDefinitionBundle
scope: "CSYDEF/CSYSGRP" # 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)
resource:
filter:
name: "PONGALT"
Expand Down
11 changes: 6 additions & 5 deletions docs/source/modules/cmci_get.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Examples
cmci_port: 12345
cmci_user: "ibmuser"
cmci_password: "123456"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSLocalFile
record_count: 2
resource:
Expand All @@ -364,7 +364,7 @@ Examples
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSLocalFile"
resources:
filter:
Expand All @@ -378,7 +378,7 @@ Examples
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: cicsdefinitionprogram
resources:
filter:
Expand All @@ -394,7 +394,8 @@ Examples
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
type: cicsdefinitionbundle
resources:
filter:
Expand All @@ -411,7 +412,7 @@ Examples
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSRegion"
resources:
complex_filter:
Expand Down
5 changes: 3 additions & 2 deletions docs/source/modules/cmci_update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,14 @@ Examples
cmci_update:
cmci_host: "example.com"
cmci_port: "12345"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
type: "CICSDefinitionBundle"
attributes:
description: "New description"
update_parameters:
- name: csd
resource:
resources:
filter:
name: "PONGALT"
get_parameters:
Expand Down
18 changes: 8 additions & 10 deletions plugins/modules/cmci_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
cmci_action:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSProgram"
action_name: NEWCOPY
resource:
Expand All @@ -84,16 +84,14 @@
- name: install a bundle in a CICS region
cmci_action:
cmci_host: "example.com"
cmci_port: "12345"
context: "plex_or_applid"
type: CICSBundle
action_name: install
resource:
cmci_port: 1234
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
type: "CICSBundle"
action_name: DISABLE
resources:
filter:
name: "PONGALT"
action_parameters:
- name: "usage"
value: "local"
name: "bundle"
"""


Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/cmci_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@
cmci_create:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSDefinitionBundle"
scope: "CSYDEF/CSYSGRP" # 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)
attributes:
name: PONGALT
bundledir: /u/ibmuser/bundle/pong/pongbundle_1.0.0
Expand Down
7 changes: 4 additions & 3 deletions plugins/modules/cmci_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,19 @@
cmci_delete:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSBundle
resource:
resources:
filter:
name: "PONGALT"

- name: delete a bundle definition in a CICS region
cmci_delete:
cmci_host: "example.com"
cmci_port: 12345
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSDefinitionBundle
scope: "CSYDEF/CSYSGRP" # 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)
resource:
filter:
name: "PONGALT"
Expand Down
11 changes: 6 additions & 5 deletions plugins/modules/cmci_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
cmci_port: 12345
cmci_user: "ibmuser"
cmci_password: "123456"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: CICSLocalFile
record_count: 2
resource:
Expand All @@ -73,7 +73,7 @@
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSLocalFile"
resources:
filter:
Expand All @@ -87,7 +87,7 @@
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: cicsdefinitionprogram
resources:
filter:
Expand All @@ -103,7 +103,8 @@
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
type: cicsdefinitionbundle
resources:
filter:
Expand All @@ -120,7 +121,7 @@
cmci_port: 12345
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
type: "CICSRegion"
resources:
complex_filter:
Expand Down
5 changes: 3 additions & 2 deletions plugins/modules/cmci_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@
cmci_update:
cmci_host: "example.com"
cmci_port: "12345"
context: "plex_or_applid"
context: "ABCDEFGH" # context is the name of your CICSplex in a CPSM environment or the applid of your region in an SMSS environment
scope: "CSYDEF/CSYSGRP" # 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)
type: "CICSDefinitionBundle"
attributes:
description: "New description"
update_parameters:
- name: csd
resource:
resources:
filter:
name: "PONGALT"
get_parameters:
Expand Down