Skip to content

Commit fe1bfda

Browse files
adding new param to manual plugins
1 parent 4ba690d commit fe1bfda

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

plugins/modules/change_password.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@
5555
- C(false) if the NetScaler ADC node is already configured and running.
5656
type: bool
5757
required: true
58+
remove_non_updatable_params:
59+
choices:
60+
- 'yes'
61+
- 'no'
62+
default: 'no'
63+
description:
64+
- When given yes, the module will remove any parameters that are not updatable
65+
in the resource.
66+
- If no, the module will return error if any non-updatable parameters are provided.
67+
type: str
5868
extends_documentation_fragment: netscaler.adc.netscaler_adc
5969
6070
"""

plugins/modules/login.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
- When C(present) the resource will be created if needed and configured according
3535
to the module's parameters.
3636
type: str
37+
remove_non_updatable_params:
38+
choices:
39+
- 'yes'
40+
- 'no'
41+
default: 'no'
42+
description:
43+
- When given yes, the module will remove any parameters that are not updatable
44+
in the resource.
45+
- If no, the module will return error if any non-updatable parameters are provided.
46+
type: str
3747
username:
3848
description:
3949
- Username for logging into the NetScaler ADC node.

plugins/modules/logout.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
- When C(present) the resource will be created if needed and configured according
3535
to the module's parameters.
3636
type: str
37+
remove_non_updatable_params:
38+
choices:
39+
- 'yes'
40+
- 'no'
41+
default: 'no'
42+
description:
43+
- When given yes, the module will remove any parameters that are not updatable
44+
in the resource.
45+
- If no, the module will return error if any non-updatable parameters are provided.
46+
type: str
3747
extends_documentation_fragment: netscaler.adc.netscaler_adc
3848
3949
"""

plugins/modules/save_config.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
- When C(present) the resource will be created if needed and configured according
3535
to the module's parameters.
3636
type: str
37+
remove_non_updatable_params:
38+
choices:
39+
- 'yes'
40+
- 'no'
41+
default: 'no'
42+
description:
43+
- When given yes, the module will remove any parameters that are not updatable
44+
in the resource.
45+
- If no, the module will return error if any non-updatable parameters are provided.
46+
type: str
3747
all:
3848
description:
3949
- Use this option to do saveconfig for all partitions

0 commit comments

Comments
 (0)