mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
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:
committed by
ansibot
parent
5edb800b6d
commit
d2ccc13857
@@ -672,6 +672,9 @@ def main():
|
||||
argument_spec=argument_spec,
|
||||
required_if=[
|
||||
('state', 'present', ['provider'])],
|
||||
required_together=[
|
||||
['host_default_vnc_port_start', 'host_default_vnc_port_end']
|
||||
],
|
||||
)
|
||||
|
||||
name = module.params['name']
|
||||
|
||||
Reference in New Issue
Block a user