From 6249b9b886a4561fa1eab6978453d699bd8c7f4c Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 29 Dec 2022 04:32:04 +0100 Subject: [PATCH] use vars more properly --- README.md | 2 +- tasks/obs_user.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7aa3c3c..ede0aa7 100644 --- a/README.md +++ b/README.md @@ -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' diff --git a/tasks/obs_user.yml b/tasks/obs_user.yml index 716d789..d15281e 100644 --- a/tasks/obs_user.yml +++ b/tasks/obs_user.yml @@ -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