diff --git a/tasks/install_runner_win.yml b/tasks/install_runner_win.yml index 68cdc6b..1ceca98 100644 --- a/tasks/install_runner_win.yml +++ b/tasks/install_runner_win.yml @@ -83,7 +83,7 @@ args: chdir: "{{ runner_dir }}" changed_when: true - become_method: runas + become_method: ansible.builtin.runas become_user: "{{ runner_user }}" become: true no_log: "{{ hide_sensitive_logs | bool }}" @@ -107,7 +107,7 @@ args: chdir: "{{ runner_dir }}" changed_when: true - become_method: runas + become_method: ansible.builtin.runas become_user: "{{ runner_user }}" become: true no_log: "{{ hide_sensitive_logs | bool }}" diff --git a/tasks/uninstall_runner_win.yml b/tasks/uninstall_runner_win.yml index 54fd14f..58d03d9 100644 --- a/tasks/uninstall_runner_win.yml +++ b/tasks/uninstall_runner_win.yml @@ -35,7 +35,7 @@ args: chdir: "{{ runner_dir }}" become: true - become_method: runas + become_method: ansible.builtin.runas become_user: "{{ runner_user }}" no_log: "{{ hide_sensitive_logs | bool }}" changed_when: true