From a8b653431d94da9545c28af4b86215f4eac344e9 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Tue, 21 Dec 2021 23:16:38 +0000 Subject: [PATCH] ci(proxy+windows): fix setting up WinRM [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/392 --- .github/workflows/kitchen.windows.yml | 12 ++++-------- kitchen.windows.yml | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kitchen.windows.yml b/.github/workflows/kitchen.windows.yml index d33fac3..959233e 100644 --- a/.github/workflows/kitchen.windows.yml +++ b/.github/workflows/kitchen.windows.yml @@ -44,10 +44,8 @@ jobs: New-LocalUser $env:machine_user -Password $password Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user - name: 'Set up WinRM' - run: > - Set-WSManQuickConfig -Force; - Set-WSManInstance -ResourceURI winrm/config/service - -ValueSet @{AllowUnencrypted="true"} + run: | + Set-WSManQuickConfig -Force - name: 'Run Bundler' run: | ruby --version @@ -88,10 +86,8 @@ jobs: New-LocalUser $env:machine_user -Password $password Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user - name: 'Set up WinRM' - run: > - Set-WSManQuickConfig -Force; - Set-WSManInstance -ResourceURI winrm/config/service - -ValueSet @{AllowUnencrypted="true"} + run: | + Set-WSManQuickConfig -Force - name: 'Run Bundler' run: | ruby --version diff --git a/kitchen.windows.yml b/kitchen.windows.yml index bd3eef9..74aa70b 100644 --- a/kitchen.windows.yml +++ b/kitchen.windows.yml @@ -11,7 +11,7 @@ driver: provisioner: salt_install: bootstrap - salt_bootstrap_options: -pythonVersion 3 + salt_bootstrap_options: -pythonVersion 3 -version 3003.3 platforms: - name: windows-2019-latest-py3