mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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,
|
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']
|
||||||
|
|||||||
Reference in New Issue
Block a user