Add VNC port range check (#34466)
This adds a check to ensure that both start and end of vnc range is specified.
This commit is contained in:
parent
5edb800b6d
commit
d2ccc13857
1 changed files with 3 additions and 0 deletions
|
@ -672,6 +672,9 @@ def main():
|
||||||
argument_spec=argument_spec,
|
argument_spec=argument_spec,
|
||||||
required_if=[
|
required_if=[
|
||||||
('state', 'present', ['provider'])],
|
('state', 'present', ['provider'])],
|
||||||
|
required_together=[
|
||||||
|
['host_default_vnc_port_start', 'host_default_vnc_port_end']
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
name = module.params['name']
|
name = module.params['name']
|
||||||
|
|
Loading…
Reference in a new issue