diff options
author | Jordan Borean <jborean93@gmail.com> | 2024-11-08 03:28:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 03:28:20 +0100 |
commit | 7501bbec201d121161e8c592749615e4f1e3eee1 (patch) | |
tree | eee614d9a3f74df1be2428b8c06ef214a12c21a7 | |
parent | command module, fix docs to reflect reality (#84191) (diff) | |
download | ansible-7501bbec201d121161e8c592749615e4f1e3eee1.tar.xz ansible-7501bbec201d121161e8c592749615e4f1e3eee1.zip |
Add support for Windows Server 2025 (#84285)
Adds Windows Server 2025 to the testing matrix.
4 files changed, 14 insertions, 1 deletions
diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index d339b43a4f..c3619bc034 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -78,6 +78,10 @@ stages: test: 2022/psrp/http - name: 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 dependsOn: [] jobs: @@ -198,6 +202,10 @@ stages: test: 2022/psrp/http - name: 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 dependsOn: [] jobs: diff --git a/changelogs/fragments/84229-windows-server-2025.yml b/changelogs/fragments/84229-windows-server-2025.yml new file mode 100644 index 0000000000..82c16371a3 --- /dev/null +++ b/changelogs/fragments/84229-windows-server-2025.yml @@ -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 diff --git a/test/integration/targets/module_utils_Ansible.ModuleUtils.CommandUtil/library/command_util_test.ps1 b/test/integration/targets/module_utils_Ansible.ModuleUtils.CommandUtil/library/command_util_test.ps1 index ebffae7ff0..ce3ce2503c 100644 --- a/test/integration/targets/module_utils_Ansible.ModuleUtils.CommandUtil/library/command_util_test.ps1 +++ b/test/integration/targets/module_utils_Ansible.ModuleUtils.CommandUtil/library/command_util_test.ps1 @@ -65,7 +65,7 @@ Assert-Equal -actual $actual.executable -expected $exe $test_name = "no working directory set" $actual = Run-Command -command "cmd.exe /c cd" 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.executable.ToUpper() -expected "$env:SystemRoot\System32\cmd.exe".ToUpper() diff --git a/test/lib/ansible_test/_data/completion/windows.txt b/test/lib/ansible_test/_data/completion/windows.txt index 85d29810ac..75f9c2e3b4 100644 --- a/test/lib/ansible_test/_data/completion/windows.txt +++ b/test/lib/ansible_test/_data/completion/windows.txt @@ -1,4 +1,5 @@ windows/2016 provider=aws arch=x86_64 connection=winrm+http windows/2019 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 |