From c6559e4b4f2da0535e0546c7f4df2585169f231c Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 30 Mar 2026 10:15:11 -0400 Subject: [PATCH] import CS ansible-core-2.14.18-3.el9 --- SPECS/ansible-core.spec | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/SPECS/ansible-core.spec b/SPECS/ansible-core.spec index 4563afc..9230b31 100644 --- a/SPECS/ansible-core.spec +++ b/SPECS/ansible-core.spec @@ -29,7 +29,7 @@ Name: ansible-core Summary: SSH-based configuration management, deployment, and task execution system Epoch: 1 Version: 2.14.18 -Release: 1%{?dist} +Release: 3%{?dist} Group: Development/Libraries License: GPLv3+ @@ -43,6 +43,11 @@ Source4: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe- Patch0: remove-bundled-deps-from-requirements.patch +%if 0%{!?centos:1} && 0%{?rhel} +Source99: telemetry.py +Patch99: telemetry.patch +%endif + URL: http://ansible.com # We obsolete old ansible, and any version of ansible-base. @@ -108,6 +113,11 @@ developed for ansible. # Fix all Python shebangs recursively in ansible-test %{py3_shebang_fix} test/lib/ansible_test +%if 0%{!?centos:1} && 0%{?rhel} +%patch99 -p1 +%{py3_shebang_fix} %{SOURCE99} +%endif + %build %{py3_build} @@ -159,6 +169,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/ansible/roles/ cp ../ansible-documentation-%{doc_version}/examples/hosts %{buildroot}%{_sysconfdir}/ansible/ cp ../ansible-documentation-%{doc_version}/examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/ +%if 0%{!?centos:1} && 0%{?rhel} +mkdir -p %{buildroot}%{_datadir}/ansible/telemetry +cp %{SOURCE99} %{buildroot}%{_datadir}/ansible/telemetry/ +%py_byte_compile %{__python3} %{buildroot}%{_datadir}/ansible/telemetry/telemetry.py +%endif + mkdir -p %{buildroot}/%{_mandir}/man1/ mkdir -p docs/man/man1 @@ -191,6 +207,12 @@ strip --strip-unneeded %{vendor_path}/markupsafe/_speedups%{python3_ext_suffix} %changelog +* Tue Feb 10 2026 Dimitri Savineau - 1:2.14.18-3 +- Fix selinux AVC denial when telemetry is enabled (RHEL-148293) + +* Thu Oct 30 2025 Dimitri Savineau - 1:2.14.18-2 +- Add telemetry for RHEL (RHEL-123003) + * Fri Jan 03 2025 Dimitri Savineau - 1:2.14.18-1 - ansible-core 2.14.18 release (RHEL-69086) - Fix license file path