mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added empty default for name parameter (#38514)
* Added empty default Fix for issue https://github.com/ansible/ansible/issues/38482
This commit is contained in:
parent
16c2d3717e
commit
8f6ee2a5ca
1 changed files with 1 additions and 2 deletions
|
@ -656,7 +656,7 @@ def main():
|
|||
virtualization_type=dict(default='hvm'),
|
||||
root_device_name=dict(),
|
||||
delete_snapshot=dict(default=False, type='bool'),
|
||||
name=dict(),
|
||||
name=dict(default=''),
|
||||
wait=dict(type='bool', default=False),
|
||||
wait_timeout=dict(default=900, type='int'),
|
||||
description=dict(default=''),
|
||||
|
@ -677,7 +677,6 @@ def main():
|
|||
argument_spec=argument_spec,
|
||||
required_if=[
|
||||
['state', 'absent', ['image_id']],
|
||||
['state', 'present', ['name']],
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue