enable remote desktop firewall
This commit is contained in:
parent
dca7aa6301
commit
f6452a9a40
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@
|
|||
script: 'Set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\‘ -Name “UserAuthentication” -Value 1'
|
||||
changed_when: _a.changed
|
||||
|
||||
- name: Enable Remote Desktop connections
|
||||
ansible.windows.win_powershell:
|
||||
script: 'Enable-NetFirewallRule -DisplayGroup “Remote Desktop”'
|
||||
changed_when: _a.changed
|
||||
|
||||
- name: Firewall rule to allow RDP on TCP port 3389
|
||||
community.windows.win_firewall_rule:
|
||||
name: Remote Desktop
|
||||
|
|
Loading…
Reference in a new issue