From b2344819a859e5d08fd6d713c2e0807cb9f864e6 Mon Sep 17 00:00:00 2001 From: Christian Iuga Date: Wed, 13 Dec 2023 15:16:31 +0100 Subject: [PATCH] Remove mandatory max_connections value ( in guacamole, it's not mandatory to have a vauleu in max_connections ) --- plugins/modules/guacamole_connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/modules/guacamole_connection.py b/plugins/modules/guacamole_connection.py index d95f7fa..51baa8f 100644 --- a/plugins/modules/guacamole_connection.py +++ b/plugins/modules/guacamole_connection.py @@ -204,7 +204,6 @@ max_connections: description: - Max simultaneous connections allowed for this connection - required: true type: int max_connections_per_user: @@ -551,7 +550,7 @@ def main(): rdp_width=dict(type='int'), rdp_height=dict(type='int'), state=dict(type='str', choices=['absent', 'present'], default='present'), - max_connections=dict(type='int', default=1), + max_connections=dict(type='int', required=False), max_connections_per_user=dict(type='int'), recording_path=dict(type='str', required=False), recording_include_keys=dict(type='bool', required=False),