0x2aas / rds-with-ansible Goto Github PK
View Code? Open in Web Editor NEWdeploy Remote Desktop Services with Ansible on a single or on multiple servers
License: GNU General Public License v3.0
deploy Remote Desktop Services with Ansible on a single or on multiple servers
License: GNU General Public License v3.0
*** in progress *** Preparation on Windows server: - join domain - add Active Directory user (Ansible user) to local administrator group - for testing purposes WinRM is set to allow unencrypted winrm set winrm/config/service @{AllowUnencrypted="true"} ################################################################################# Preparation on Ansible host (Single-Server, all RDS features on a single server): - put FQDN of target server under group [singleserver] in inventory file - remaining configuration via vars/single.yml: - choose AD group - choose collection name and description - choose remote apps (see below) Run playbook: ansible-playbook single_rds.yml -vvvv ################################################################################# Preparation on Ansible host (Multi-Server, RDS features deployed on different servers): The Dsc parameters 'PsDscRunAsCredential_username' and 'PsDscRunAsCredential_password' are needed. Otherwise it will give an error, because it can't connect via PowerShell remoting. - add connectionbroker FQDN to inventory file beneath [connectionbroker] - add sessionhost FQDN to group [sessionhost] - add webaccess FQDN to group [webaccess] - add your AD credentials to group_vars/all.yml by: - echo "username: [email protected]" >> group_vars/all.yml - ansible-vault encrypt_string 'Pa$$w0rd' --name 'password' >> group_vars/all.yml - remaining configuration via vars/single.yml: - choose AD group - choose collection name and description - choose remote apps (see below) run playbook: ansible-playbook multi_rds.yml --ask-vault-pass -vvvv ################################################################################# Information on installing software and publish them as remote apps: The file vars/software.yml needs to be filled manually. The field extra in vars/software.yml is to indicate that it comes with an installer and is no Windows utility like Calculator or Notepad. The field exists in vars/software.yml holds the apps current installation status: exists: TRUE = software already installed exists: FALSE = software has not been installed To prevent unnecessary copying roles/extra_apps_pretasks/tasks/checkexistence.yml will check, if the software has already been installed. This is done by looking up the product_id within HKLM:.../Uninstall/product_id. If the product_id was found Ansible will not create a directory, thus not copy and install software. Then roles/extra_apps_pretasks/tasks/main.yml will create dir, copy installer and install software. by reading product id from registry. If it is already installed it will set the field exists to TRUE in vars/software.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.