mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 21:47:21 +00:00
tweaks for new VM creation
This commit is contained in:
1 parent
e71459defe
commit
834e0c2199
8 files changed
+36
-10
No files matched your search
@@ -7,6 +7,15 @@
|
||||
state: present
|
||||
tags: guacamole_rdu
|
||||
|
||||
- name: Add Docker group to docker-users
|
||||
ansible.windows.win_group_membership:
|
||||
name: docker-users
|
||||
members:
|
||||
- "{{ win_project}}\\{{ docker_user_group }}"
|
||||
state: present
|
||||
ignore_errors: true
|
||||
tags: docker_access
|
||||
|
||||
- name: RD Gateway setup
|
||||
tags: client_rdgw
|
||||
block:
|
||||
@@ -25,7 +34,7 @@
|
||||
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
|
||||
ValueName: fDenyTSConnections
|
||||
ValueData: 0
|
||||
PsDscRunAsCredential_username: Administrator
|
||||
PsDscRunAsCredential_username: "{{ domain_administrator }}"
|
||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||
|
||||
- name: Registry edit - fSingleSessionPerUser
|
||||
@@ -35,7 +44,7 @@
|
||||
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
|
||||
ValueName: fSingleSessionPerUser
|
||||
ValueData: 1
|
||||
PsDscRunAsCredential_username: Administrator
|
||||
PsDscRunAsCredential_username: "{{ domain_administrator }}"
|
||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||
|
||||
- name: Registry edit - SecurityLayer
|
||||
@@ -45,7 +54,7 @@
|
||||
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
|
||||
ValueName: SecurityLayer
|
||||
ValueData: 0
|
||||
PsDscRunAsCredential_username: Administrator
|
||||
PsDscRunAsCredential_username: "{{ domain_administrator }}"
|
||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||
|
||||
- name: Registry edit - UserAuthentication
|
||||
@@ -55,7 +64,7 @@
|
||||
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
|
||||
ValueName: UserAuthentication
|
||||
ValueData: 0
|
||||
PsDscRunAsCredential_username: Administrator
|
||||
PsDscRunAsCredential_username: "{{ domain_administrator }}"
|
||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||
|
||||
- name: Enable NetFireWallRule - “Remote Desktop”
|
||||
|
||||
Reference in new issue
Block a user