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 }}'