mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix module issues (#52209)
This commit is contained in:
@@ -60,7 +60,7 @@ options:
|
||||
description:
|
||||
- Determines if the portgroup should be present or not.
|
||||
required: True
|
||||
type: bool
|
||||
type: str
|
||||
choices:
|
||||
- 'present'
|
||||
- 'absent'
|
||||
|
||||
@@ -629,7 +629,7 @@ def main():
|
||||
uuid=dict(type='str'),
|
||||
folder=dict(type='str'),
|
||||
datacenter=dict(type='str', required=True),
|
||||
disk=dict(type=list, default=[]),
|
||||
disk=dict(type='list', default=[]),
|
||||
)
|
||||
module = AnsibleModule(argument_spec=argument_spec,
|
||||
required_one_of=[['name', 'uuid']])
|
||||
|
||||
@@ -46,7 +46,7 @@ options:
|
||||
description:
|
||||
- "IP or FQDN of NTP server(s)."
|
||||
- This accepts a list of NTP servers. For multiple servers, please look at the examples.
|
||||
type: dict
|
||||
type: list
|
||||
required: True
|
||||
state:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user