Skip to content

Commit

Permalink
Merge pull request #53 from joey-grant/feat_add_rdp_admin_console_option
Browse files Browse the repository at this point in the history
feat(rdp): add admin console option
  • Loading branch information
pescobar authored Aug 20, 2024
2 parents afe2f06 + 36d5dac commit fb3ee07
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ OPTIONS (= is mandatory):
(Choices: 8, 16, 24, 32)[Default: (null)]
type: int
- rdp_console Sets session as admin
default: null
type: bool
- rdp_domain
Domain for the connection
[Default: (null)]
Expand Down
9 changes: 8 additions & 1 deletion plugins/modules/guacamole_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@
- Display height
type: int
rdp_console:
description:
- Sets session as admin
type: bool
ssh_passphrase:
description:
- Passphrase for the SSH private key
Expand Down Expand Up @@ -471,7 +476,8 @@ def guacamole_populate_connection_payload(module_params):
"server_layout",
"width",
"height",
"resize_method"
"resize_method",
"console"
)
guacamole_add_parameter(payload, module_params, parameters, "rdp")
if module_params.get('rdp_ignore_server_certs'):
Expand Down Expand Up @@ -583,6 +589,7 @@ def main():
),
rdp_width=dict(type='int'),
rdp_height=dict(type='int'),
rdp_console=dict(type='bool', default=False, required=False),
state=dict(type='str', choices=['absent', 'present'], default='present'),
max_connections=dict(type='int', required=False),
max_connections_per_user=dict(type='int'),
Expand Down

0 comments on commit fb3ee07

Please sign in to comment.