From 4653bb4d9c8b3b7325dca00aa2a73cae24851d1b Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Mon, 3 Aug 2026 08:48:58 +0200 Subject: [PATCH] build-containers.yml: Limit Anisble core version to 2.20 Ansible core needs to stay at 2.20 for now to be able to build the container for ansible-freeipa testing on Fedora Rawhide. ansible.legacy.setup is not usable with Ansible core 2.21: ansible/module_utils/_internal/_patches/__init__.py, line 45, in get_current_implementation\nAttributeError: module 'dataclasses' has no attribute '_is_type' --- infra/azure/build-containers.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/azure/build-containers.yml b/infra/azure/build-containers.yml index ec9b0b3b..845bba1e 100644 --- a/infra/azure/build-containers.yml +++ b/infra/azure/build-containers.yml @@ -23,6 +23,7 @@ stages: - template: templates/build_container.yml parameters: distro: ${{ distro }} + ansible_core_version: "<2.21" # Special case for CentOS 8 Stream - stage: CentOS_8_Stream