Fix vmware_guest disk and nic parameters and docstrings (#2705)
* Fix vmware_guest disk and nic parameters and docstrings * vmware_guest: remove default for required params
This commit is contained in:
parent
384255cada
commit
859ff8e886
1 changed files with 6 additions and 2 deletions
|
@ -65,6 +65,10 @@ options:
|
||||||
description:
|
description:
|
||||||
- Attributes such as cpus, memroy, osid, and disk controller
|
- Attributes such as cpus, memroy, osid, and disk controller
|
||||||
required: False
|
required: False
|
||||||
|
disk:
|
||||||
|
description:
|
||||||
|
- A list of disks to add
|
||||||
|
required: False
|
||||||
nic:
|
nic:
|
||||||
description:
|
description:
|
||||||
- A list of nics to add
|
- A list of nics to add
|
||||||
|
@ -799,8 +803,8 @@ def main():
|
||||||
name_match=dict(required=False, type='str', default='first'),
|
name_match=dict(required=False, type='str', default='first'),
|
||||||
uuid=dict(required=False, type='str'),
|
uuid=dict(required=False, type='str'),
|
||||||
folder=dict(required=False, type='str', default=None, aliases=['folder']),
|
folder=dict(required=False, type='str', default=None, aliases=['folder']),
|
||||||
disk=dict(required=False, type='list', default=[]),
|
disk=dict(required=True, type='list'),
|
||||||
nic=dict(required=False, type='list', default=[]),
|
nic=dict(required=True, type='list'),
|
||||||
hardware=dict(required=False, type='dict', default={}),
|
hardware=dict(required=False, type='dict', default={}),
|
||||||
force=dict(required=False, type='bool', default=False),
|
force=dict(required=False, type='bool', default=False),
|
||||||
datacenter=dict(required=False, type='str', default=None),
|
datacenter=dict(required=False, type='str', default=None),
|
||||||
|
|
Loading…
Reference in a new issue