Pin ansible-core to 2.18.x — avoid 2.19 native Jinja breakage#141
Open
rut31337 wants to merge 1 commit into
Open
Pin ansible-core to 2.18.x — avoid 2.19 native Jinja breakage#141rut31337 wants to merge 1 commit into
rut31337 wants to merge 1 commit into
Conversation
ansible-core 2.19 made native Jinja mode mandatory and removed the
implicit string-to-dict literal evaluation pass. This breaks cloud
provider collections that define variables as Python dict literal
strings and rely on the old coercion behavior (e.g. passing
"{'key':'value'}" through to_json expecting a JSON object).
Pin to 2.18.x until the cloud provider collections (cloud_provider_aws,
cloud_provider_openshift_cnv, etc.) are updated to use proper YAML
dicts instead of string literals. This also aligns the EE with the
ansible-core version on bare-metal controllers (us-east-2, us-west-2).
agonzalezrh
approved these changes
Apr 10, 2026
agonzalezrh
approved these changes
Apr 10, 2026
diff between quay.io/agnosticd/ee-multicloud:chained-latest and quay.io/agnosticd/ee-multicloud:chained-temporary-pr-141: --- /tmp/tmp.ajNiLhFaQc 2026-04-10 22:16:50.386152281 +0000
+++ /tmp/tmp.AXflnSIcU7 2026-04-10 22:18:19.721394903 +0000
@@ -1,88 +1,88 @@
-6d4b3f588762218e40e3bb17b6f599102de58d13cb7ec651b84760946795ca78 /usr/local/bin/entrypoint
+ce2d7400dec95527bb5484d5c08871764551112cc63cca1e927380f6dd05d115 /usr/local/bin/entrypoint
# Ansible
-ansible [core 2.20.2]
+ansible [core 2.18.15]
config file = None
configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
ansible collection location = /home/runner/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
- python version = 3.12.12 (main, Jan 19 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12)
+ python version = 3.12.12 (main, Mar 27 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12)
jinja version = 3.1.6
- pyyaml version = 6.0.3 (with libyaml v0.2.5)
+ libyaml = True
-ansible-galaxy [core 2.20.2]
+ansible-galaxy [core 2.18.15]
config file = None
configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
ansible collection location = /home/runner/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible-galaxy
- python version = 3.12.12 (main, Jan 19 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12)
+ python version = 3.12.12 (main, Mar 27 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12)
jinja version = 3.1.6
- pyyaml version = 6.0.3 (with libyaml v0.2.5)
+ libyaml = True
/usr/share/ansible/collections/ansible_collections:
amazon.aws:
- version: 11.1.0
+ version: 11.2.0
ansible.controller:
- version: 4.7.8
+ version: 4.7.10
ansible.eda:
version: 2.11.0
ansible.hub:
- version: 1.0.4
+ version: 1.0.6
ansible.netcommon:
version: 8.4.0
ansible.platform:
- version: 2.6.20251106
+ version: 2.6.20260306
ansible.posix:
version: 2.1.0
ansible.utils:
version: 6.0.1
ansible.windows:
- version: 3.3.0
+ version: 3.5.0
awx.awx:
version: 24.6.1
community.crypto:
version: 3.1.1
community.general:
- version: 12.3.0
+ version: 12.5.0
community.okd:
version: 5.0.0
community.vmware:
version: 6.2.0
containers.podman:
- version: 1.19.0
+ version: 1.19.2
infra.aap_configuration:
- version: 4.2.1
+ version: 4.3.0
infra.controller_configuration:
- version: 3.2.2
+ version: 3.2.5
infra.eda_configuration:
version: 1.1.0
kubernetes.core:
version: 6.3.0
kubevirt.core:
- version: 2.2.3
+ version: 2.2.4
redhat.artifact_signer:
- version: 1.3.2
+ version: 1.3.3
redhat.insights:
- version: 1.3.0
+ version: 1.3.1
redhat.openshift:
version: 5.0.0
redhat.openshift_virtualization:
- version: 2.2.3
+ version: 2.2.4
redhat.rhbk:
version: 3.0.1
redhat.rhel_system_roles:
- version: 1.108.6
+ version: 1.120.5
redhat.runtimes_common:
- version: 1.2.2
+ version: 1.2.3
redhat.satellite:
- version: 5.8.0
+ version: 5.10.0
redhat.trusted_profile_analyzer:
- version: 2.2.0
+ version: 2.2.3
vmware.vmware:
- version: 2.7.0
+ version: 2.8.0
vmware.vmware_rest:
version: 4.10.0
@@ -92,17 +92,17 @@
Python 3.12.12
pip 26.0.1 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
---------------- pip freeze ----------------
-ansible-core==2.20.2
-ansible-runner==2.4.2
-ansible-specdoc==0.0.19
+ansible-core==2.18.15
+ansible-runner==2.4.3
+ansible-specdoc==0.0.20
appdirs==1.4.4
baron==0.10.1
bcrypt==5.0.0
-boto3==1.42.49
-botocore==1.42.49
-certifi==2026.1.4
+boto3==1.42.88
+botocore==1.42.88
+certifi==2026.2.25
cffi==2.0.0
-charset-normalizer==3.4.4
+charset-normalizer==3.4.7
cryptography==43.0.3
decorator==5.2.1
dnspython==2.8.0
@@ -110,18 +110,18 @@
durationpy==0.10
gssapi==1.11.1
idna==3.11
-invoke==2.2.1
+invoke==3.0.3
Jinja2==3.1.6
jmespath==1.1.0
jmespath-community==1.1.3
jsonpatch==1.33
-jsonpointer==3.0.0
+jsonpointer==3.1.1
krb5==0.9.0
kubernetes==35.0.0
lockfile==0.12.2
-lxml==6.0.2
+lxml==6.0.3
MarkupSafe==3.0.3
-ncclient==0.7.0
+ncclient==0.7.1
oauthlib==3.3.1
packaging==26.0
packet-python==1.44.3
@@ -134,19 +134,19 @@
pykerberos==1.2.4
PyNaCl==1.6.2
pyOpenSSL==24.2.1
-pypsrp==0.8.1
-pyspnego==0.12.0
+pypsrp==0.9.1
+pyspnego==0.12.1
python-daemon==3.1.2
python-dateutil==2.9.0.post0
pyvmomi==9.0.0.0
pywinrm==0.5.0
PyYAML==6.0.3
redbaron==0.9.2
-requests==2.32.5
+requests==2.33.1
requests-credssp==2.0.0
requests-oauthlib==2.0.0
requests_ntlm==1.3.0
-resolvelib==1.2.1
+resolvelib==1.0.1
rply==0.7.8
s3transfer==0.16.0
setuptools==68.2.2
@@ -162,7 +162,7 @@
vmware-vcenter==9.0.0.0
vmware-vsan-data-protection==9.0.0.0
websocket-client==1.9.0
-xmltodict==1.0.3
+xmltodict==1.0.4
--------------------------------------------
# Packages
@@ -226,14 +226,14 @@
git-core.x86_64 2.47.3-1.el9_6 @ubi-9-appstream-rpms
git-core-doc.noarch 2.47.3-1.el9_6 @ubi-9-appstream-rpms
glib2.x86_64 2.68.4-18.el9_7.1 @rhel-9-for-x86_64-baseos-rpms
-glibc.x86_64 2.34-231.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
-glibc-common.x86_64 2.34-231.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
-glibc-devel.x86_64 2.34-231.el9_7.2 @ubi-9-appstream-rpms
-glibc-headers.x86_64 2.34-231.el9_7.2 @ubi-9-appstream-rpms
-glibc-minimal-langpack.x86_64 2.34-231.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
+glibc.x86_64 2.34-231.el9_7.10 @rhel-9-for-x86_64-baseos-rpms
+glibc-common.x86_64 2.34-231.el9_7.10 @rhel-9-for-x86_64-baseos-rpms
+glibc-devel.x86_64 2.34-231.el9_7.10 @ubi-9-appstream-rpms
+glibc-headers.x86_64 2.34-231.el9_7.10 @ubi-9-appstream-rpms
+glibc-minimal-langpack.x86_64 2.34-231.el9_7.10 @rhel-9-for-x86_64-baseos-rpms
gmp.x86_64 1:6.2.0-13.el9 @rhel-9-for-x86_64-baseos-rpms
gnupg2.x86_64 2.3.3-5.el9_7 @rhel-9-for-x86_64-baseos-rpms
-gnutls.x86_64 3.8.3-9.el9 @rhel-9-for-x86_64-baseos-rpms
+gnutls.x86_64 3.8.3-10.el9_7 @rhel-9-for-x86_64-baseos-rpms
gobject-introspection.x86_64 1.68.0-11.el9 @rhel-9-for-x86_64-baseos-rpms
gpgme.x86_64 1.15.1-6.el9 @rhel-9-for-x86_64-baseos-rpms
gpm-libs.x86_64 1.20.7-29.el9 @ubi-9-appstream-rpms
@@ -246,7 +246,7 @@
jq.x86_64 1.6-19.el9 @ubi-9-baseos-rpms
json-c.x86_64 0.14-11.el9 @rhel-9-for-x86_64-baseos-rpms
json-glib.x86_64 1.6.6-1.el9 @rhel-9-for-x86_64-baseos-rpms
-kernel-headers.x86_64 5.14.0-611.30.1.el9_7 @ubi-9-appstream-rpms
+kernel-headers.x86_64 5.14.0-611.47.1.el9_7 @ubi-9-appstream-rpms
keyutils.x86_64 1.6.3-1.el9 @rhel-9-for-x86_64-baseos-rpms
keyutils-libs.x86_64 1.6.3-1.el9 @rhel-9-for-x86_64-baseos-rpms
keyutils-libs-devel.x86_64 1.6.3-1.el9 @ubi-9-appstream-rpms
@@ -258,7 +258,7 @@
langpacks-en.noarch 3.0-16.el9 @rhel-9-for-x86_64-appstream-rpms
less.x86_64 590-6.el9 @ubi-9-baseos-rpms
libacl.x86_64 2.3.1-4.el9 @rhel-9-for-x86_64-baseos-rpms
-libarchive.x86_64 3.5.3-6.el9_6 @rhel-9-for-x86_64-baseos-rpms
+libarchive.x86_64 3.5.3-7.el9_7 @rhel-9-for-x86_64-baseos-rpms
libassuan.x86_64 2.5.5-3.el9 @rhel-9-for-x86_64-baseos-rpms
libattr.x86_64 2.5.1-3.el9 @rhel-9-for-x86_64-baseos-rpms
libblkid.x86_64 2.37.4-21.el9_7 @rhel-9-for-x86_64-baseos-rpms
@@ -272,7 +272,7 @@
libcurl-devel.x86_64 7.76.1-35.el9_7.3 @ubi-9-appstream-rpms
libcurl-minimal.x86_64 7.76.1-35.el9_7.3 @rhel-9-for-x86_64-baseos-rpms
libdb.x86_64 5.3.28-57.el9_6 @rhel-9-for-x86_64-baseos-rpms
-libdnf.x86_64 0.69.0-16.el9 @rhel-9-for-x86_64-baseos-rpms
+libdnf.x86_64 0.69.0-17.el9_7 @rhel-9-for-x86_64-baseos-rpms
libdnf-plugin-subscription-manager.x86_64 1.29.47.1-1.el9_7 @rhel-9-for-x86_64-baseos-rpms
libeconf.x86_64 0.4.1-4.el9 @rhel-9-for-x86_64-baseos-rpms
libedit.x86_64 3.1-38.20210216cvs.el9 @ubi-9-baseos-rpms
@@ -339,8 +339,8 @@
npth.x86_64 1.6-8.el9 @rhel-9-for-x86_64-baseos-rpms
oniguruma.x86_64 6.9.6-1.el9.5 @ubi-9-appstream-rpms
openldap.x86_64 2.6.8-4.el9 @rhel-9-for-x86_64-baseos-rpms
-openssh.x86_64 8.7p1-47.el9_7 @ubi-9-baseos-rpms
-openssh-clients.x86_64 8.7p1-47.el9_7 @ubi-9-baseos-rpms
+openssh.x86_64 8.7p1-48.el9_7 @ubi-9-baseos-rpms
+openssh-clients.x86_64 8.7p1-48.el9_7 @ubi-9-baseos-rpms
openssl.x86_64 1:3.5.1-7.el9_7 @rhel-9-for-x86_64-baseos-rpms
openssl-devel.x86_64 1:3.5.1-7.el9_7 @ubi-9-appstream-rpms
openssl-fips-provider.x86_64 3.0.7-8.el9 @rhel-9-for-x86_64-baseos-rpms
@@ -426,7 +426,7 @@
protobuf-c.x86_64 1.3.3-13.el9 @ubi-9-baseos-rpms
psmisc.x86_64 23.4-3.el9 @rhel-9-for-x86_64-baseos-rpms
publicsuffix-list-dafsa.noarch 20210518-3.el9 @ubi-9-baseos-rpms
-python3.x86_64 3.9.25-3.el9_7 @rhel-9-for-x86_64-baseos-rpms
+python3.x86_64 3.9.25-3.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
python3-chardet.noarch 4.0.0-5.el9 @rhel-9-for-x86_64-baseos-rpms
python3-cloud-what.x86_64 1.29.47.1-1.el9_7 @rhel-9-for-x86_64-baseos-rpms
python3-dateutil.noarch 1:2.9.0.post0-1.el9_7 @rhel-9-for-x86_64-baseos-rpms
@@ -437,14 +437,14 @@
python3-gobject-base.x86_64 3.40.1-6.el9 @rhel-9-for-x86_64-baseos-rpms
python3-gobject-base-noarch.noarch 3.40.1-6.el9 @rhel-9-for-x86_64-baseos-rpms
python3-gpg.x86_64 1.15.1-6.el9 @rhel-9-for-x86_64-baseos-rpms
-python3-hawkey.x86_64 0.69.0-16.el9 @rhel-9-for-x86_64-baseos-rpms
+python3-hawkey.x86_64 0.69.0-17.el9_7 @rhel-9-for-x86_64-baseos-rpms
python3-idna.noarch 2.10-7.el9_4.1 @rhel-9-for-x86_64-baseos-rpms
python3-iniparse.noarch 0.4-45.el9 @rhel-9-for-x86_64-baseos-rpms
python3-inotify.noarch 0.9.6-25.el9 @rhel-9-for-x86_64-baseos-rpms
python3-libcomps.x86_64 0.1.18-1.el9 @rhel-9-for-x86_64-baseos-rpms
-python3-libdnf.x86_64 0.69.0-16.el9 @rhel-9-for-x86_64-baseos-rpms
+python3-libdnf.x86_64 0.69.0-17.el9_7 @rhel-9-for-x86_64-baseos-rpms
python3-librepo.x86_64 1.14.5-3.el9 @rhel-9-for-x86_64-baseos-rpms
-python3-libs.x86_64 3.9.25-3.el9_7 @rhel-9-for-x86_64-baseos-rpms
+python3-libs.x86_64 3.9.25-3.el9_7.2 @rhel-9-for-x86_64-baseos-rpms
python3-pip-wheel.noarch 21.3.1-1.el9 @rhel-9-for-x86_64-baseos-rpms
python3-pysocks.noarch 1.7.1-12.el9 @rhel-9-for-x86_64-baseos-rpms
python3-requests.noarch 2.25.1-10.el9_6 @rhel-9-for-x86_64-baseos-rpms
@@ -455,9 +455,9 @@
python3-subscription-manager-rhsm.x86_64 1.29.47.1-1.el9_7 @rhel-9-for-x86_64-baseos-rpms
python3-systemd.x86_64 234-19.el9 @rhel-9-for-x86_64-baseos-rpms
python3-urllib3.noarch 1.26.5-6.el9_7.1 @rhel-9-for-x86_64-baseos-rpms
-python3.12.x86_64 3.12.12-4.el9_7 @ubi-9-appstream-rpms
-python3.12-devel.x86_64 3.12.12-4.el9_7 @ubi-9-appstream-rpms
-python3.12-libs.x86_64 3.12.12-4.el9_7 @ubi-9-appstream-rpms
+python3.12.x86_64 3.12.12-4.el9_7.2 @ubi-9-appstream-rpms
+python3.12-devel.x86_64 3.12.12-4.el9_7.2 @ubi-9-appstream-rpms
+python3.12-libs.x86_64 3.12.12-4.el9_7.2 @ubi-9-appstream-rpms
python3.12-pip.noarch 23.2.1-5.el9 @ubi-9-appstream-rpms
python3.12-pip-wheel.noarch 23.2.1-5.el9 @ubi-9-appstream-rpms
python3.12-setuptools.noarch 68.2.2-5.el9_6 @ubi-9-appstream-rpms
@@ -468,7 +468,7 @@
rpm-build-libs.x86_64 4.16.1.3-39.el9 @rhel-9-for-x86_64-baseos-rpms
rpm-libs.x86_64 4.16.1.3-39.el9 @rhel-9-for-x86_64-baseos-rpms
rpm-sign-libs.x86_64 4.16.1.3-39.el9 @rhel-9-for-x86_64-baseos-rpms
-rsync.x86_64 3.2.5-3.el9 @ubi-9-baseos-rpms
+rsync.x86_64 3.2.5-3.el9_7.2 @ubi-9-baseos-rpms
sed.x86_64 4.8-9.el9 @rhel-9-for-x86_64-baseos-rpms
setup.noarch 2.13.7-10.el9 @rhel-9-for-x86_64-baseos-rpms
shadow-utils.x86_64 2:4.9-15.el9 @rhel-9-for-x86_64-baseos-rpms
@@ -476,21 +476,21 @@
sshpass.x86_64 1.09-4.el9 @ubi-9-appstream-rpms
subscription-manager.x86_64 1.29.47.1-1.el9_7 @rhel-9-for-x86_64-baseos-rpms
subscription-manager-rhsm-certificates.noarch 20220623-1.el9 @rhel-9-for-x86_64-baseos-rpms
-systemd.x86_64 252-55.el9_7.7 @rhel-9-for-x86_64-baseos-rpms
-systemd-libs.x86_64 252-55.el9_7.7 @rhel-9-for-x86_64-baseos-rpms
-systemd-pam.x86_64 252-55.el9_7.7 @rhel-9-for-x86_64-baseos-rpms
-systemd-rpm-macros.noarch 252-55.el9_7.7 @rhel-9-for-x86_64-baseos-rpms
+systemd.x86_64 252-55.el9_7.8 @rhel-9-for-x86_64-baseos-rpms
+systemd-libs.x86_64 252-55.el9_7.8 @rhel-9-for-x86_64-baseos-rpms
+systemd-pam.x86_64 252-55.el9_7.8 @rhel-9-for-x86_64-baseos-rpms
+systemd-rpm-macros.noarch 252-55.el9_7.8 @rhel-9-for-x86_64-baseos-rpms
tar.x86_64 2:1.34-9.el9_7 @rhel-9-for-x86_64-baseos-rpms
tpm2-tss.x86_64 3.2.3-1.el9 @rhel-9-for-x86_64-baseos-rpms
-tzdata.noarch 2025c-1.el9 @rhel-9-for-x86_64-baseos-rpms
+tzdata.noarch 2026a-1.el9 @rhel-9-for-x86_64-baseos-rpms
unzip.x86_64 6.0-59.el9 @ubi-9-baseos-rpms
usermode.x86_64 1.114-7.el9 @rhel-9-for-x86_64-baseos-rpms
util-linux.x86_64 2.37.4-21.el9_7 @rhel-9-for-x86_64-baseos-rpms
util-linux-core.x86_64 2.37.4-21.el9_7 @rhel-9-for-x86_64-baseos-rpms
-vim-common.x86_64 2:8.2.2637-23.el9_7 @ubi-9-appstream-rpms
-vim-enhanced.x86_64 2:8.2.2637-23.el9_7 @ubi-9-appstream-rpms
-vim-filesystem.noarch 2:8.2.2637-23.el9_7 @ubi-9-baseos-rpms
-vim-minimal.x86_64 2:8.2.2637-23.el9_7 @rhel-9-for-x86_64-baseos-rpms
+vim-common.x86_64 2:8.2.2637-23.el9_7.1 @ubi-9-appstream-rpms
+vim-enhanced.x86_64 2:8.2.2637-23.el9_7.1 @ubi-9-appstream-rpms
+vim-filesystem.noarch 2:8.2.2637-23.el9_7.1 @ubi-9-baseos-rpms
+vim-minimal.x86_64 2:8.2.2637-23.el9_7.1 @rhel-9-for-x86_64-baseos-rpms
virt-what.x86_64 1.27-2.el9 @rhel-9-for-x86_64-baseos-rpms
wget.x86_64 1.21.1-8.el9_4 @ubi-9-appstream-rpms
which.x86_64 2.21-30.el9_6 @rhel-9-for-x86_64-baseos-rpms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pin
ansible-core>=2.18,<2.19in the chained EE requirements to avoid breaking changes introduced in ansible-core 2.19.Problem
ansible-core 2.19 made native Jinja mode mandatory and removed the implicit string-to-dict literal evaluation pass (porting guide). This breaks cloud provider collections that define variables as Python dict literal strings, e.g.:
Previously ansible would coerce this string into a dict. With 2.19+, it stays a string and
| to_jsonwraps it in quotes instead of serializing the dict. This causes failures like the Multus webhook rejecting the config as "not in JSON format."The unpinned
requirements.txtpulled ansible-core 2.20 on recent builds, hitting these issues across multiple cloud provider collections.Fix
Pin to
ansible-core>=2.18,<2.19which:TODO after merge