Added empty default for name parameter (#38514)
* Added empty default Fix for issue https://github.com/ansible/ansible/issues/38482pull/4420/head
parent
16c2d3717e
commit
8f6ee2a5ca
|
@ -656,7 +656,7 @@ def main():
|
||||||
virtualization_type=dict(default='hvm'),
|
virtualization_type=dict(default='hvm'),
|
||||||
root_device_name=dict(),
|
root_device_name=dict(),
|
||||||
delete_snapshot=dict(default=False, type='bool'),
|
delete_snapshot=dict(default=False, type='bool'),
|
||||||
name=dict(),
|
name=dict(default=''),
|
||||||
wait=dict(type='bool', default=False),
|
wait=dict(type='bool', default=False),
|
||||||
wait_timeout=dict(default=900, type='int'),
|
wait_timeout=dict(default=900, type='int'),
|
||||||
description=dict(default=''),
|
description=dict(default=''),
|
||||||
|
@ -677,7 +677,6 @@ def main():
|
||||||
argument_spec=argument_spec,
|
argument_spec=argument_spec,
|
||||||
required_if=[
|
required_if=[
|
||||||
['state', 'absent', ['image_id']],
|
['state', 'absent', ['image_id']],
|
||||||
['state', 'present', ['name']],
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue