Skip to content

Commit

Permalink
Added missing attributes to examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavan Satwik committed Nov 21, 2024
1 parent 8072000 commit efd9cff
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 22 deletions.
17 changes: 8 additions & 9 deletions docs/source/modules/cmci_action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -374,16 +374,15 @@ Examples
- 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:
scheme: "http"
cmci_port: 1234
context: "plex or applid"
scope: "regionName"
type: "CICSBundle"
action_name: DISABLE
resources:
filter:
name: "PONGALT"
action_parameters:
- name: "usage"
value: "local"
name: "bundle"



Expand Down
1 change: 1 addition & 0 deletions docs/source/modules/cmci_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ Examples
cmci_port: 12345
context: "plex_or_applid"
type: "CICSDefinitionBundle"
scope: "cics region"
attributes:
name: PONGALT
bundledir: /u/ibmuser/bundle/pong/pongbundle_1.0.0
Expand Down
3 changes: 2 additions & 1 deletion docs/source/modules/cmci_delete.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Examples
cmci_port: 12345
context: "plex_or_applid"
type: CICSBundle
resource:
resources:
filter:
name: "PONGALT"

Expand All @@ -336,6 +336,7 @@ Examples
cmci_port: 12345
context: "plex_or_applid"
type: CICSDefinitionBundle
scope: "cics region"
resource:
filter:
name: "PONGALT"
Expand Down
1 change: 1 addition & 0 deletions docs/source/modules/cmci_get.rst
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ Examples
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
scope: "cics region"
type: cicsdefinitionbundle
resources:
filter:
Expand Down
3 changes: 2 additions & 1 deletion docs/source/modules/cmci_update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,13 @@ Examples
cmci_host: "example.com"
cmci_port: "12345"
context: "plex_or_applid"
scope: "cics region name"
type: "CICSDefinitionBundle"
attributes:
description: "New description"
update_parameters:
- name: csd
resource:
resources:
filter:
name: "PONGALT"
get_parameters:
Expand Down
17 changes: 8 additions & 9 deletions plugins/modules/cmci_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,15 @@
- 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:
scheme: "http"
cmci_port: 1234
context: "plex or applid"
scope: "regionName"
type: "CICSBundle"
action_name: DISABLE
resources:
filter:
name: "PONGALT"
action_parameters:
- name: "usage"
value: "local"
name: "bundle"
"""


Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cmci_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
cmci_port: 12345
context: "plex_or_applid"
type: "CICSDefinitionBundle"
scope: "cics region"
attributes:
name: PONGALT
bundledir: /u/ibmuser/bundle/pong/pongbundle_1.0.0
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/cmci_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
cmci_port: 12345
context: "plex_or_applid"
type: CICSBundle
resource:
resources:
filter:
name: "PONGALT"
Expand All @@ -48,6 +48,7 @@
cmci_port: 12345
context: "plex_or_applid"
type: CICSDefinitionBundle
scope: "cics region"
resource:
filter:
name: "PONGALT"
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cmci_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
cmci_cert: "./sec/ansible.pem"
cmci_key: "./sec/ansible.key"
context: "plex_or_applid"
scope: "cics region"
type: cicsdefinitionbundle
resources:
filter:
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/cmci_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,13 @@
cmci_host: "example.com"
cmci_port: "12345"
context: "plex_or_applid"
scope: "cics region name"
type: "CICSDefinitionBundle"
attributes:
description: "New description"
update_parameters:
- name: csd
resource:
resources:
filter:
name: "PONGALT"
get_parameters:
Expand Down

0 comments on commit efd9cff

Please sign in to comment.