mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-29 11:07:21 +00:00
Guacamole Users group
This commit is contained in:
1 parent
4f885e26ea
commit
d5a45cd531
5 files changed
+21
-1
No files matched your search
@@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
- name: Add Guacamole group to remote desktop users
|
||||||
|
ansible.windows.win_group_membership:
|
||||||
|
name: Remote Desktop Users
|
||||||
|
members:
|
||||||
|
- "{{ win_project}}\\{{ guacamole_user_group }}"
|
||||||
|
state: present
|
||||||
|
tags: guacamole_rdu
|
||||||
|
|
||||||
- name: RD Gateway setup
|
- name: RD Gateway setup
|
||||||
tags: client_rdgw
|
tags: client_rdgw
|
||||||
block:
|
block:
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
guacamole_user_group: "Guacamole Users"
|
||||||
@@ -123,6 +123,14 @@
|
|||||||
password: "{{ file_manager_password }}"
|
password: "{{ file_manager_password }}"
|
||||||
state: present
|
state: present
|
||||||
password_never_expires: yes
|
password_never_expires: yes
|
||||||
|
|
||||||
|
- name: Create Guacamole Users group for RDP access
|
||||||
|
microsoft.ad.group:
|
||||||
|
name: "{{ guacamole_user_group }}"
|
||||||
|
description: "Allow remote logon for guacamole users"
|
||||||
|
path: "cn=Users,dc={{ win_project }},dc=loc"
|
||||||
|
scope: domainlocal
|
||||||
|
category: security
|
||||||
when: inventory_hostname in groups['meta-name_dc01']
|
when: inventory_hostname in groups['meta-name_dc01']
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
user_action: create
|
user_action: create
|
||||||
|
guacamole_user_group: "Guacamole Users"
|
||||||
@@ -18,6 +18,8 @@ gpu_flavor: b07fc115-e48e-4289-b220-baae18c8db8a
|
|||||||
filetransfer_user: file-transfer
|
filetransfer_user: file-transfer
|
||||||
filemanager_user: file-manager
|
filemanager_user: file-manager
|
||||||
|
|
||||||
|
guacamole_user_group: "Guacamole Users"
|
||||||
|
|
||||||
winrm_script_url: http://10.24.3.242/ConfigureRemotingForAnsible.ps1
|
winrm_script_url: http://10.24.3.242/ConfigureRemotingForAnsible.ps1
|
||||||
|
|
||||||
standard_vms:
|
standard_vms:
|
||||||
|
|||||||
Reference in new issue
Block a user