WIP3
This commit is contained in:
18
roles/oatakan.windows_template_build/tasks/enable-rdp.yml
Normal file
18
roles/oatakan.windows_template_build/tasks/enable-rdp.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- name: enable RDP port
|
||||
win_firewall_rule:
|
||||
name: Remote Desktop
|
||||
localport: 3389
|
||||
action: allow
|
||||
direction: in
|
||||
protocol: tcp
|
||||
state: present
|
||||
enabled: yes
|
||||
|
||||
- name: enable RDP
|
||||
win_regedit:
|
||||
path: HKLM:\System\CurrentControlSet\Control\Terminal Server
|
||||
name: fDenyTSConnections
|
||||
data: 0
|
||||
type: dword
|
||||
Reference in New Issue
Block a user