Skip to content

Commit d4847f7

Browse files
changing state value to applied
Signed-off-by: Shiva Shankar Vaddepally <shivashankar.vaddepally@cloud.com>
1 parent bf46503 commit d4847f7

File tree

11 files changed

+14
-15
lines changed

11 files changed

+14
-15
lines changed

examples/nsacls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
- name: Configure nsacls
77
delegate_to: localhost
88
netscaler.adc.nsacls:
9-
state: apply
9+
state: applied

examples/nspbrs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
- name: Configure nspbrs
77
delegate_to: localhost
88
netscaler.adc.nspbrs:
9-
state: apply
9+
state: applied

plugins/module_utils/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def get_valid_desired_states(resource_name):
602602
if "unset" in supported_operations:
603603
desired_states.add("unset")
604604
if "apply" in supported_operations:
605-
desired_states.add("apply")
605+
desired_states.add("applied")
606606
return desired_states
607607

608608

plugins/module_utils/module_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,15 +963,15 @@ def main(self):
963963
"flushed",
964964
"switched",
965965
"unset",
966-
"apply",
966+
"applied",
967967
}:
968968
state_action_map = {
969969
"created": "create",
970970
"imported": "import",
971971
"flushed": "flush",
972972
"switched": "switch",
973973
"unset": "unset",
974-
"apply": "apply",
974+
"applied": "apply",
975975
}
976976
self.act_on_resource(
977977
action=state_action_map[self.module.params["state"]]

plugins/modules/nsacls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
options:
2929
state:
3030
choices:
31-
- apply
31+
- applied
3232
default: present
3333
description:
3434
- The state of the resource being configured by the module on the NetScaler
@@ -58,7 +58,7 @@
5858
- name: Configure nsacls
5959
delegate_to: localhost
6060
netscaler.adc.nsacls:
61-
state: present
61+
state: applied
6262
"""
6363

6464
RETURN = r"""

plugins/modules/nsacls6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
options:
2929
state:
3030
choices:
31-
- apply
31+
- applied
3232
default: present
3333
description:
3434
- The state of the resource being configured by the module on the NetScaler

plugins/modules/nspbr6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- enabled
3434
- disabled
3535
- unset
36-
- apply
36+
- applied
3737
default: present
3838
description:
3939
- The state of the resource being configured by the module on the NetScaler

plugins/modules/nspbrs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
options:
2929
state:
3030
choices:
31-
- apply
31+
- applied
3232
default: present
3333
description:
3434
- The state of the resource being configured by the module on the NetScaler
@@ -47,8 +47,7 @@
4747
- name: Configure nspbrs
4848
delegate_to: localhost
4949
netscaler.adc.nspbrs:
50-
state: present
51-
action: apply
50+
state: applied
5251
"""
5352

5453
RETURN = r"""

plugins/modules/nstestlicense.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
options:
2929
state:
3030
choices:
31-
- apply
31+
- applied
3232
default: present
3333
description:
3434
- The state of the resource being configured by the module on the NetScaler

plugins/modules/routerdynamicrouting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- present
3232
- absent
3333
- unset
34-
- apply
34+
- applied
3535
default: present
3636
description:
3737
- The state of the resource being configured by the module on the NetScaler

0 commit comments

Comments
 (0)