mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[PR #10512/3bb7a77b backport][stable-11] arg_spec adjustments: modules [o-s]* (#10530)
arg_spec adjustments: modules [o-s]* (#10512)
* arg_spec adjustments: modules [o-s]*
* add changelog frag
(cherry picked from commit 3bb7a77b14)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -263,10 +263,10 @@ class NetworksModule(OpenNebulaModule):
|
||||
|
||||
def __init__(self):
|
||||
argument_spec = dict(
|
||||
id=dict(type='int', required=False),
|
||||
name=dict(type='str', required=False),
|
||||
id=dict(type='int'),
|
||||
name=dict(type='str'),
|
||||
state=dict(type='str', choices=['present', 'absent'], default='present'),
|
||||
template=dict(type='str', required=False),
|
||||
template=dict(type='str'),
|
||||
)
|
||||
|
||||
mutually_exclusive = [
|
||||
|
||||
Reference in New Issue
Block a user