From c90c9b28c578452021250d13b3016afe4775fe41 Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 15 Oct 2024 14:59:26 +0100 Subject: [PATCH] skip Windows updates --- ansible/docker/Dockerfile.win2022 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/docker/Dockerfile.win2022 b/ansible/docker/Dockerfile.win2022 index 3674a2f145..173d0d66e6 100644 --- a/ansible/docker/Dockerfile.win2022 +++ b/ansible/docker/Dockerfile.win2022 @@ -51,7 +51,7 @@ RUN net user ansible %PW% /ADD & net localgroup "Administrators" ansible /ADD & echo localhost ansible_connection=winrm > infrastructure/ansible/hosts & \ cd infrastructure\ansible & \ C:\cygwin64\bin\python3.7m.exe /usr/bin/ansible-playbook -e git_sha=00000000 -e ansible_user=ansible -e ansible_password=%PW% -i hosts \ - --skip-tags=adoptopenjdk,reboot,NTP_TIME,MSVS_2013,MSVS_2017,MSVS_2019 playbooks/AdoptOpenJDK_Windows_Playbook/main.yml & \ + --skip-tags=adoptopenjdk,reboot,Windows_Updates,NTP_TIME,MSVS_2013,MSVS_2017,MSVS_2019 playbooks/AdoptOpenJDK_Windows_Playbook/main.yml & \ net user ansible /DELETE ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]