Add VNC port range check (#34466)

This adds a check to ensure that both start and end of vnc range
is specified.
pull/34599/head
Christopher Brown 7 years ago committed by ansibot
parent 5edb800b6d
commit d2ccc13857

@ -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…
Cancel
Save