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:
--------------
+ Create User OBS
+ Create User for OBS
+ install OBS, VLC and MPV
+ optionally configure autologon *(see ``win_obs_init__autologon_*`` variables)*
+ change Power Plan to 'High Performance'

View file

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