Skip to content

Commit 7d4dcc1

Browse files
committed
Remove prefix req for updating subnet
1 parent 054c20c commit 7d4dcc1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- purefb_subnet - ``prefix`` removed as a required parameter for updating an existing subnet

plugins/modules/purefb_subnet.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,8 @@ def main():
275275
)
276276
)
277277

278-
required_if = [["state", "present", ["prefix"]]]
279-
280278
module = AnsibleModule(
281-
argument_spec, required_if=required_if, supports_check_mode=True
279+
argument_spec, supports_check_mode=True
282280
)
283281

284282
if not HAS_PURITY_FB:

0 commit comments

Comments
 (0)