mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Remove elements= from arg_spec when type is not 'list'. (#50484)
This commit is contained in:
parent
4902306dd8
commit
41de2855ae
4 changed files with 9 additions and 7 deletions
|
@ -387,7 +387,7 @@ def main():
|
|||
min_drive_size=dict(type='str', default='unspecified'),
|
||||
manual_disks=dict(type='list', elements='dict', options=manual_disk),
|
||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||
virtual_drive=dict(type='dict', elements='dict', options=_virtual_drive_argument_spec()),
|
||||
virtual_drive=dict(type='dict', options=_virtual_drive_argument_spec()),
|
||||
)
|
||||
module = AnsibleModule(
|
||||
argument_spec,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue