use vars more properly

This commit is contained in:
L3D 2022-12-29 04:32:04 +01:00
parent 6b86e9d710
commit 6249b9b886
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ Ansible role to deploy a obs setup on windows
What we do: What we do:
-------------- --------------
+ Create User OBS + Create User for OBS
+ install OBS, VLC and MPV + install OBS, VLC and MPV
+ optionally configure autologon *(see ``win_obs_init__autologon_*`` variables)* + optionally configure autologon *(see ``win_obs_init__autologon_*`` variables)*
+ change Power Plan to 'High Performance' + change Power Plan to 'High Performance'

View file

@ -4,9 +4,9 @@
msg: "Please define a password for 'win_obs_init__password'!" msg: "Please define a password for 'win_obs_init__password'!"
when: win_obs_init__password == 'changeME' when: win_obs_init__password == 'changeME'
- name: Create OBS User - name: "Create User {{ win_obs_init__user }}"
ansible.windows.win_user: ansible.windows.win_user:
name: 'obs' name: "{{ win_obs_init__user }}"
state: present state: present
password: "{{ win_obs_init__password }}" password: "{{ win_obs_init__password }}"
account_disabled: false account_disabled: false