mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 00:48:02 +01:00
ci(proxy+windows): fix setting up WinRM [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/392
This commit is contained in:
parent
015a7edffa
commit
39cbc1b91b
12
.github/workflows/kitchen.windows.yml
vendored
12
.github/workflows/kitchen.windows.yml
vendored
@ -44,10 +44,8 @@ jobs:
|
|||||||
New-LocalUser $env:machine_user -Password $password
|
New-LocalUser $env:machine_user -Password $password
|
||||||
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
||||||
- name: 'Set up WinRM'
|
- name: 'Set up WinRM'
|
||||||
run: >
|
run: |
|
||||||
Set-WSManQuickConfig -Force;
|
Set-WSManQuickConfig -Force
|
||||||
Set-WSManInstance -ResourceURI winrm/config/service
|
|
||||||
-ValueSet @{AllowUnencrypted="true"}
|
|
||||||
- name: 'Run Bundler'
|
- name: 'Run Bundler'
|
||||||
run: |
|
run: |
|
||||||
ruby --version
|
ruby --version
|
||||||
@ -88,10 +86,8 @@ jobs:
|
|||||||
New-LocalUser $env:machine_user -Password $password
|
New-LocalUser $env:machine_user -Password $password
|
||||||
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
||||||
- name: 'Set up WinRM'
|
- name: 'Set up WinRM'
|
||||||
run: >
|
run: |
|
||||||
Set-WSManQuickConfig -Force;
|
Set-WSManQuickConfig -Force
|
||||||
Set-WSManInstance -ResourceURI winrm/config/service
|
|
||||||
-ValueSet @{AllowUnencrypted="true"}
|
|
||||||
- name: 'Run Bundler'
|
- name: 'Run Bundler'
|
||||||
run: |
|
run: |
|
||||||
ruby --version
|
ruby --version
|
||||||
|
Loading…
Reference in New Issue
Block a user