From 292740354bb018cf54b6de22547cfca34717bb92 Mon Sep 17 00:00:00 2001 From: Frederik Leonhardt Date: Fri, 16 Aug 2024 12:31:54 +1200 Subject: [PATCH] Windows: Remove become to fix provisioning on Windows This fixes a regression introduced in 62ec42ff causing the following error on Windows: "The powershell shell family is incompatible with the sudo become plugin". --- tasks/global-setup-windows.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/global-setup-windows.yml b/tasks/global-setup-windows.yml index b7491de..0a1c3a4 100644 --- a/tasks/global-setup-windows.yml +++ b/tasks/global-setup-windows.yml @@ -31,7 +31,6 @@ insertafter: \s*concurrent.* state: present no_log: "{{ gitlab_runner_no_log_secrets | default(omit) }}" - become: "{{ gitlab_runner_system_mode }}" notify: - restart_gitlab_runner - restart_gitlab_runner_windows