Note
This plugin is part of the community.windows collection.
To install it use: ansible-galaxy collection install community.windows
.
To use it in a playbook, specify: community.windows.win_rds_rap
.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
allowed_ports list / elements=string | List of port numbers through which connections are allowed for this policy. To allow connections through any port, specify 'any'. | |
computer_group string | The computer group name that is associated with this resource authorization policy (RAP). This is required when computer_group_type is rdg_group or ad_network_resource_group . | |
computer_group_type string |
| The computer group type: rdg_group : RD Gateway-managed groupad_network_resource_group : Active Directory Domain Services network resource groupallow_any : Allow users to connect to any network resource. |
description string | Optional description of the resource authorization policy. | |
name string / required | Name of the resource authorization policy. | |
state string |
| The state of resource authorization policy. If absent will ensure the policy is removed.If present will ensure the policy is configured and exists.If enabled will ensure the policy is configured, exists and enabled.If disabled will ensure the policy is configured, exists, but disabled. |
user_groups list / elements=string | List of user groups that are associated with this resource authorization policy (RAP). A user must belong to one of these groups to access the RD Gateway server. Required when a new RAP is created. |
See also
The official documentation on the community.windows.win_rds_cap module.
The official documentation on the community.windows.win_rds_rap module.
The official documentation on the community.windows.win_rds_settings module.
- 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
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/windows/win_rds_rap_module.html