From d9a498d5b6e4c4f1173fbdb7da8a6420ba80571e Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 9 Oct 2026 12:08:35 -0300 Subject: [PATCH 1/3] Use Ansible 2.22 for Python 3.15 Fedora Rawhide (46) provides Python 3.15 which breaks Ansible versions prior to 2.22. As of today, Ansible 2.22 is not released yet, so we need to use beta and release candidate versions at this time. This patch will still work once the stable release is available, and will allow the use of special versions in the future, if required. Signed-off-by: Rafael Guterres Jeffman --- infra/azure/azure-pipelines.yml | 14 ++++++++++++++ infra/azure/build-containers.yml | 11 ++++++++++- infra/azure/nightly.yml | 14 ++++++++++++++ infra/azure/pr-pipeline.yml | 14 ++++++++++++++ 4 files changed, 52 insertions(+), 1 deletion(-) diff --git a/infra/azure/azure-pipelines.yml b/infra/azure/azure-pipelines.yml index a3768d14..7a025408 100644 --- a/infra/azure/azure-pipelines.yml +++ b/infra/azure/azure-pipelines.yml @@ -7,6 +7,7 @@ pool: variables: ansible_version: "-core >=2.18,<2.19" + ansible_rawhide_version: "-core >=2.22.0b0,<2.23" ansible_latest: "-core" ansible_minimum: "-core <2.16" distros: "fedora-latest,c9s,c10s,fedora-rawhide" @@ -47,6 +48,19 @@ stages: skip_git_test: true test_galaxy: false +# Fedora Rawhide requires the unreleased Ansible 2.22 series. + +- stage: fedora_rawhide_ansible_2_22 + dependsOn: [] + jobs: + - template: templates/group_tests.yml + parameters: + build_number: $(Build.BuildNumber) + distro: fedora-rawhide + ansible_version: ${{ variables.ansible_rawhide_version }} + skip_git_test: true + test_galaxy: false + # Galaxy on Fedora - stage: galaxy_fedora_latest_ansible_2_18 diff --git a/infra/azure/build-containers.yml b/infra/azure/build-containers.yml index ec9b0b3b..ab59c218 100644 --- a/infra/azure/build-containers.yml +++ b/infra/azure/build-containers.yml @@ -12,7 +12,7 @@ trigger: none pool: vmImage: 'ubuntu-24.04' -variables: { distros: "fedora-latest,fedora-rawhide,c9s,c10s" } +variables: { distros: "fedora-latest,c9s,c10s" } stages: @@ -24,6 +24,15 @@ stages: parameters: distro: ${{ distro }} +# Fedora Rawhide requires the unreleased Ansible 2.22 series. +- stage: build_fedora_rawhide + dependsOn: [] + jobs: + - template: templates/build_container.yml + parameters: + distro: fedora-rawhide + ansible_core_version: ">=2.22.0b0,<2.23" + # Special case for CentOS 8 Stream - stage: CentOS_8_Stream dependsOn: [] diff --git a/infra/azure/nightly.yml b/infra/azure/nightly.yml index 55d19947..6ae4d590 100644 --- a/infra/azure/nightly.yml +++ b/infra/azure/nightly.yml @@ -28,11 +28,25 @@ parameters: variables: distros: "fedora-latest,c10s,c9s,fedora-rawhide" ansible_version: "-core >=2.18,<2.19" + ansible_rawhide_version: "-core >=2.22.0b0,<2.23" ansible_latest: "-core" ansible_minimum: "-core <2.16" stages: +# Fedora Rawhide requires the unreleased Ansible 2.22 series. + +- stage: fedora_rawhide_ansible_2_22 + dependsOn: [] + jobs: + - template: templates/group_tests.yml + parameters: + build_number: $(Build.BuildNumber) + distro: fedora-rawhide + ansible_version: ${{ variables.ansible_rawhide_version }} + skip_git_test: true + test_galaxy: false + # Minimum ansible - ${{ each distro in split(variables.distros, ',') }}: diff --git a/infra/azure/pr-pipeline.yml b/infra/azure/pr-pipeline.yml index f25a4d45..5f61a95d 100644 --- a/infra/azure/pr-pipeline.yml +++ b/infra/azure/pr-pipeline.yml @@ -21,6 +21,7 @@ parameters: variables: distros: "fedora-latest,c10s,c9s,fedora-rawhide" ansible_version: "-core >=2.18,<2.19" + ansible_rawhide_version: "-core >=2.22.0b0,<2.23" stages: @@ -38,6 +39,19 @@ stages: skip_git_test: false test_galaxy: false +# Fedora Rawhide requires the unreleased Ansible 2.22 series. + +- stage: fedora_rawhide_ansible_2_22 + dependsOn: [] + jobs: + - template: templates/run_tests.yml + parameters: + build_number: $(Build.BuildNumber) + distro: fedora-rawhide + ansible_version: ${{ variables.ansible_rawhide_version }} + skip_git_test: false + test_galaxy: false + # Galaxy on Fedora - stage: galaxy_fedora_latest_ansible_2_18 From 954a7cb5e1db1e5d5a9a524b06a80152c71f7e33 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 9 Oct 2026 14:09:52 -0300 Subject: [PATCH 2/3] TEMP: trigger CI for ipauser --- plugins/modules/ipauser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index d5c4d849..514aab99 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -21,6 +21,8 @@ from __future__ import (absolute_import, division, print_function) +# Manage FreeIPA user accounts. + __metaclass__ = type ANSIBLE_METADATA = { From 57b1ad87a52e51a0aa7b901dcd8264523dac64ed Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Tue, 13 Oct 2026 10:46:11 -0300 Subject: [PATCH 3/3] fixup! Use Ansible 2.22 for Python 3.15 --- infra/azure/azure-pipelines.yml | 3 ++- infra/azure/nightly.yml | 3 ++- infra/azure/pr-pipeline.yml | 2 +- infra/azure/templates/group_tests.yml | 5 ++++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/infra/azure/azure-pipelines.yml b/infra/azure/azure-pipelines.yml index 7a025408..b6854d85 100644 --- a/infra/azure/azure-pipelines.yml +++ b/infra/azure/azure-pipelines.yml @@ -10,7 +10,7 @@ variables: ansible_rawhide_version: "-core >=2.22.0b0,<2.23" ansible_latest: "-core" ansible_minimum: "-core <2.16" - distros: "fedora-latest,c9s,c10s,fedora-rawhide" + distros: "fedora-latest,c9s,c10s" stages: @@ -58,6 +58,7 @@ stages: build_number: $(Build.BuildNumber) distro: fedora-rawhide ansible_version: ${{ variables.ansible_rawhide_version }} + python_version: '3.12' skip_git_test: true test_galaxy: false diff --git a/infra/azure/nightly.yml b/infra/azure/nightly.yml index 6ae4d590..6a82850a 100644 --- a/infra/azure/nightly.yml +++ b/infra/azure/nightly.yml @@ -26,7 +26,7 @@ parameters: - { distro: "c10s", ansible_version: "<2.17", version_name: "2.16" } variables: - distros: "fedora-latest,c10s,c9s,fedora-rawhide" + distros: "fedora-latest,c10s,c9s" ansible_version: "-core >=2.18,<2.19" ansible_rawhide_version: "-core >=2.22.0b0,<2.23" ansible_latest: "-core" @@ -44,6 +44,7 @@ stages: build_number: $(Build.BuildNumber) distro: fedora-rawhide ansible_version: ${{ variables.ansible_rawhide_version }} + python_version: '3.12' skip_git_test: true test_galaxy: false diff --git a/infra/azure/pr-pipeline.yml b/infra/azure/pr-pipeline.yml index 5f61a95d..38ba17c3 100644 --- a/infra/azure/pr-pipeline.yml +++ b/infra/azure/pr-pipeline.yml @@ -19,7 +19,7 @@ parameters: - { distro: "c10s", ansible_version: "<2.17", version_name: "2.16" } variables: - distros: "fedora-latest,c10s,c9s,fedora-rawhide" + distros: "fedora-latest,c10s,c9s" ansible_version: "-core >=2.18,<2.19" ansible_rawhide_version: "-core >=2.22.0b0,<2.23" diff --git a/infra/azure/templates/group_tests.yml b/infra/azure/templates/group_tests.yml index da18c2e3..34416bcf 100644 --- a/infra/azure/templates/group_tests.yml +++ b/infra/azure/templates/group_tests.yml @@ -14,6 +14,9 @@ parameters: - name: test_galaxy type: boolean default: false + - name: python_version + type: string + default: '< 3.12' jobs: @@ -25,6 +28,6 @@ jobs: build_number: ${{ parameters.build_number }} distro: ${{ parameters.distro }} ansible_version: ${{ parameters.ansible_version }} - python_version: '< 3.12' + python_version: ${{ parameters.python_version }} skip_git_test: ${{ parameters.skip_git_test }} test_galaxy: ${{ parameters.test_galaxy }}