fix runas instruction

This commit is contained in:
L3D 2023-09-17 14:21:00 +02:00
parent ddf576f3c3
commit 077b55f2d0

View file

@ -17,7 +17,7 @@
& powercfg -x disk-timeout-ac 0 & powercfg -x disk-timeout-ac 0
& powercfg -x disk-timeout-dc 0 & powercfg -x disk-timeout-dc 0
become: true become: true
become_method: runas become_method: ansible.builtin.runas
become_user: "{{ win_obs_init__user }}" become_user: "{{ win_obs_init__user }}"
vars: vars:
ansible_become_pass: '{{ win_obs_init__password }}' ansible_become_pass: '{{ win_obs_init__password }}'