Add support for Windows Server 2025 (#84285)

Adds Windows Server 2025 to the testing matrix.
pull/84288/head
Jordan Borean 2 weeks ago committed by GitHub
parent bf48b538f8
commit 7501bbec20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -78,6 +78,10 @@ stages:
test: 2022/psrp/http test: 2022/psrp/http
- name: 2022 SSH Key - name: 2022 SSH Key
test: 2022/ssh/key test: 2022/ssh/key
- name: 2025 PSRP HTTP
test: 2025/psrp/http
- name: 2025 SSH Key
test: 2025/ssh/key
- stage: Remote - stage: Remote
dependsOn: [] dependsOn: []
jobs: jobs:
@ -198,6 +202,10 @@ stages:
test: 2022/psrp/http test: 2022/psrp/http
- name: 2022 SSH Key - name: 2022 SSH Key
test: 2022/ssh/key test: 2022/ssh/key
- name: 2025 PSRP HTTP
test: 2025/psrp/http
- name: 2025 SSH Key
test: 2025/ssh/key
- stage: Incidental - stage: Incidental
dependsOn: [] dependsOn: []
jobs: jobs:

@ -0,0 +1,4 @@
minor_changes:
- >-
Windows - Add support for Windows Server 2025 to Ansible and as an ``ansible-test``
remote target - https://github.com/ansible/ansible/issues/84229

@ -65,7 +65,7 @@ Assert-Equal -actual $actual.executable -expected $exe
$test_name = "no working directory set" $test_name = "no working directory set"
$actual = Run-Command -command "cmd.exe /c cd" $actual = Run-Command -command "cmd.exe /c cd"
Assert-Equal -actual $actual.rc -expected 0 Assert-Equal -actual $actual.rc -expected 0
Assert-Equal -actual $actual.stdout -expected "$($pwd.Path)`r`n" Assert-Equal -actual $actual.stdout.ToUpper() -expected "$($pwd.Path)`r`n".ToUpper()
Assert-Equal -actual $actual.stderr -expected "" Assert-Equal -actual $actual.stderr -expected ""
Assert-Equal -actual $actual.executable.ToUpper() -expected "$env:SystemRoot\System32\cmd.exe".ToUpper() Assert-Equal -actual $actual.executable.ToUpper() -expected "$env:SystemRoot\System32\cmd.exe".ToUpper()

@ -1,4 +1,5 @@
windows/2016 provider=aws arch=x86_64 connection=winrm+http windows/2016 provider=aws arch=x86_64 connection=winrm+http
windows/2019 provider=aws arch=x86_64 connection=winrm+https windows/2019 provider=aws arch=x86_64 connection=winrm+https
windows/2022 provider=aws arch=x86_64 connection=winrm+https windows/2022 provider=aws arch=x86_64 connection=winrm+https
windows/2025 provider=aws arch=x86_64 connection=winrm+https
windows provider=aws arch=x86_64 connection=winrm+https windows provider=aws arch=x86_64 connection=winrm+https

Loading…
Cancel
Save