Ansible Playbook to Setup a Windows 10 Enterprise Host to Stream with OBS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
L3D 34674e71db update 2 months ago
group_vars/obs update 2 months ago
host_vars/obs-studio Label for SPS22 3 months ago
roles update config and hostnames 9 months ago
.gitignore install stramdeck 11 months ago
.gitmodules update szenes and obs files 10 months ago
.yamllint improve installation, adding features and packages 11 months ago
LICENSE initialize git Repo 12 months ago Expand README 11 months ago
ansible.cfg update 2 months ago
hosts.ini Label for SPS22 3 months ago
site.yml update szenes and obs files 10 months ago

Ansible Playbook WINDOWS OBS Setup

Ansible Playbook to Setup a Windows 10 Enterprise Host to Stream with OBS.

WINTERKONGRESS 2022 Edition -> This version of the ansible playbook is designed deploy the chvoc setup for winterkongress 2022!


Your Windows 10 Host has the following Software Requirements bevore starting ansible usage (based on windows_setup.html#host-requirements:

  • PowerShell version 3.0 or newer
  • .NET Framework 4.0 or newer

This Playbook is only tested at Windows 10 Enterprise

How to get the Version Number


# In your Powershell
Get-Host | Select-Object Version

.NET Framework

# In your Powershell
(Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Version

Windows Version

# In your Powershell
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").ProductName

Configure Ansible Access (WinRM Setup)

configure WinRM Access

Configure WinRM with the ConfigureRemotingForAnsible.ps1 Script as described in in your WINDOWS PowerShell.

configure ansible setup

  • add your host to the hosts.ini file.
  • add the following variables in the host_vars:
# host_vars/$hostname/vars.yml
ansible_connection: winrm
ansible_user: 'Windows_Admin_User'
ansible_password: 'Your_Windows_Admin_Password'
ansible_winrm_server_cert_validation: ignore

validate access

After you installed the required deploy host python packages you can verify that the access is working by running the following ad-hoc command

ansible -m win_ping all

Ansible deploy host requirements

pip install pywinrm

Name convention

Use obs-$name with any name of My little Pony villans.

Ad-hoc copy file example:

# create C:\media\
ansible -m -a "path='C:\media' state=directory" all

# copy file
ansible -m -a "src=/tmp/copy.txt dest='C:\media\copy.txt'" all