From dcf862fad2a307de9f80ff88145853eceaaeed61 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 7 Jan 2026 17:19:02 -0800 Subject: [PATCH] ansible-test - Replace RHEL 10.0 with 10.1 (#86387) (#86390) (cherry picked from commit 3df8aeed80c20e13d0e48c0f7df7566020892868) --- .azure-pipelines/azure-pipelines.yml | 12 ++++++------ changelogs/fragments/ansible-test-rhel-10.1.yml | 1 + test/integration/targets/rpm_key/tasks/main.yaml | 4 ++++ test/lib/ansible_test/_data/completion/remote.txt | 2 +- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 837f7f43b91..1ed64edb1ad 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -94,8 +94,8 @@ stages: test: rhel/9.7@3.9 - name: RHEL 9.7 py312 test: rhel/9.7@3.12 - - name: RHEL 10.0 - test: rhel/10.0 + - name: RHEL 10.1 + test: rhel/10.1 - name: FreeBSD 13.5 test: freebsd/13.5 - name: FreeBSD 14.2 @@ -110,8 +110,8 @@ stages: test: macos/15.3 - name: RHEL 9.7 test: rhel/9.7 - - name: RHEL 10.0 - test: rhel/10.0 + - name: RHEL 10.1 + test: rhel/10.1 - name: FreeBSD 13.5 test: freebsd/13.5 - name: FreeBSD 14.2 @@ -129,8 +129,8 @@ stages: test: fedora/41 - name: RHEL 9.7 test: rhel/9.7 - - name: RHEL 10.0 - test: rhel/10.0 + - name: RHEL 10.1 + test: rhel/10.1 - name: Ubuntu 24.04 test: ubuntu/24.04 groups: diff --git a/changelogs/fragments/ansible-test-rhel-10.1.yml b/changelogs/fragments/ansible-test-rhel-10.1.yml index 57bfaf01afd..9f3a07390a5 100644 --- a/changelogs/fragments/ansible-test-rhel-10.1.yml +++ b/changelogs/fragments/ansible-test-rhel-10.1.yml @@ -1,2 +1,3 @@ minor_changes: - ansible-test - Replace RHEL 9.5 remote with 9.7. + - ansible-test - Replace RHEL 10.0 remote with 10.1. diff --git a/test/integration/targets/rpm_key/tasks/main.yaml b/test/integration/targets/rpm_key/tasks/main.yaml index 3da5bfc4e6e..a72e49665fd 100644 --- a/test/integration/targets/rpm_key/tasks/main.yaml +++ b/test/integration/targets/rpm_key/tasks/main.yaml @@ -1,3 +1,7 @@ + - name: Skip RHEL 10.1 until rpm_key has been updated + meta: end_play + when: ansible_distribution == "RedHat" and ansible_distribution_version == "10.1" + - when: ansible_os_family == "RedHat" block: diff --git a/test/lib/ansible_test/_data/completion/remote.txt b/test/lib/ansible_test/_data/completion/remote.txt index 4951481e380..3e7f0f0e3b7 100644 --- a/test/lib/ansible_test/_data/completion/remote.txt +++ b/test/lib/ansible_test/_data/completion/remote.txt @@ -8,7 +8,7 @@ freebsd python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64 macos/15.3 python=3.13 python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64 macos python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64 rhel/9.7 python=3.9,3.12 become=sudo provider=aws arch=x86_64 -rhel/10.0 python=3.12 become=sudo provider=aws arch=x86_64 +rhel/10.1 python=3.12 become=sudo provider=aws arch=x86_64 rhel become=sudo provider=aws arch=x86_64 ubuntu/22.04 python=3.10 become=sudo provider=aws arch=x86_64 ubuntu/24.04 python=3.12 become=sudo provider=aws arch=x86_64