Added MSVSphere support

i9 changed/i9/ansible-core-2.14.2-5.el9_2.inferit
Arkady L. Shane 2 years ago
parent c0d844e652
commit 0845e902b3
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -0,0 +1,25 @@
From c6a476cabf999c92b2e776fdaa7d1853ee57d027 Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Mon, 14 Aug 2023 17:40:06 +0300
Subject: [PATCH] Added MSVSphere support
---
lib/ansible/module_utils/facts/system/distribution.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ansible/module_utils/facts/system/distribution.py b/lib/ansible/module_utils/facts/system/distribution.py
index dcb6e5a..bab748b 100644
--- a/lib/ansible/module_utils/facts/system/distribution.py
+++ b/lib/ansible/module_utils/facts/system/distribution.py
@@ -513,7 +513,7 @@ class Distribution(object):
'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS',
'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba',
'EulerOS', 'openEuler', 'AlmaLinux', 'Rocky', 'TencentOS',
- 'EuroLinux', 'Kylin Linux Advanced Server'],
+ 'EuroLinux', 'Kylin Linux Advanced Server', 'MSVSphere'],
'Debian': ['Debian', 'Ubuntu', 'Raspbian', 'Neon', 'KDE neon',
'Linux Mint', 'SteamOS', 'Devuan', 'Kali', 'Cumulus Linux',
'Pop!_OS', 'Parrot', 'Pardus GNU/Linux', 'Uos', 'Deepin', 'OSMC'],
--
2.41.0

@ -33,7 +33,7 @@
Name: ansible-core
Summary: SSH-based configuration management, deployment, and task execution system
Version: 2.14.2
Release: 5%{?dist}
Release: 5%{?dist}.inferit
Group: Development/Libraries
License: GPLv3+
@ -49,6 +49,7 @@ Source6: https://files.pythonhosted.org/packages/source/r/resolvelib/resolvelib-
Patch0: remove-bundled-deps-from-requirements.patch
Patch1: ansible-test-Fix-vendoring-support-80074.patch
Patch2: 0001-Added-MSVSphere-support.patch
URL: http://ansible.com
@ -112,6 +113,7 @@ developed for ansible.
%setup -q -b2 -b3 -b4 -b5 -b6 -n ansible-core-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
# Fix all Python shebangs recursively in ansible-test
%{py3_shebang_fix} test/lib/ansible_test
@ -197,6 +199,9 @@ strip --strip-unneeded %{vendor_path}/markupsafe/_speedups%{python3_ext_suffix}
%changelog
* Mon Aug 14 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 2.14.2-5.inferit
- Added MSVSphere support
* Tue May 23 2023 Dimitri Savineau <dsavinea@redhat.com> - 2.14.2-5
- ansible-test: Fix vendoring support (rhbz#2212444)

Loading…
Cancel
Save