mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 12:29:10 -07:00
Fix module issues (#52209)
This commit is contained in:
parent
cedd9d9926
commit
203caf2570
54 changed files with 290 additions and 238 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue