From 077b55f2d036c89cf57fa277fc6bc6227ee4940f Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 17 Sep 2023 14:21:00 +0200 Subject: [PATCH] fix runas instruction --- tasks/powerplan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/powerplan.yml b/tasks/powerplan.yml index b444ce7..0e2d840 100644 --- a/tasks/powerplan.yml +++ b/tasks/powerplan.yml @@ -17,7 +17,7 @@ & powercfg -x disk-timeout-ac 0 & powercfg -x disk-timeout-dc 0 become: true - become_method: runas + become_method: ansible.builtin.runas become_user: "{{ win_obs_init__user }}" vars: ansible_become_pass: '{{ win_obs_init__password }}'