community.windows.win_rds_rap – Manage Resource Authorization Policies (RAP) on a Remote Desktop Gateway server¶
Note
This plugin is part of the community.windows collection (version 1.3.0).
To install it use: ansible-galaxy collection install community.windows
.
To use it in a playbook, specify: community.windows.win_rds_rap
.
Synopsis¶
Creates, removes and configures a Remote Desktop resource authorization policy (RD RAP).
A RD RAP allows you to specify the network resources (computers) that users can connect to remotely through a Remote Desktop Gateway server.
Requirements¶
The below requirements are needed on the host that executes this module.
Windows Server 2008R2 (6.1) or higher.
The Windows Feature “RDS-Gateway” must be enabled.
Parameters¶
See Also¶
See also
- community.windows.win_rds_cap
The official documentation on the community.windows.win_rds_cap module.
- community.windows.win_rds_rap
The official documentation on the community.windows.win_rds_rap module.
- community.windows.win_rds_settings
The official documentation on the community.windows.win_rds_settings module.
Examples¶
- name: Create a new RDS RAP
community.windows.win_rds_rap:
name: My RAP
description: Allow all users to connect to any resource through ports 3389 and 3390
user_groups:
- BUILTIN\users
computer_group_type: allow_any
allowed_ports:
- 3389
- 3390
state: enabled
Authors¶
Kevin Subileau (@ksubileau)