Accepting request 1082286 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible
new package ansible-runner OBS-URL: https://build.opensuse.org/request/show/1082286 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-runner?expand=0&rev=1
This commit is contained in:
parent
32a1d2b934
commit
4c8e581836
4
_service
Normal file
4
_service
Normal file
@ -0,0 +1,4 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1bb56f9061c3238d89ec8871bc842f5b8d0e868f892347e8455c98d5b6fa58a1
|
||||
size 47112
|
3
ansible-runner-2.3.2.tar.gz
Normal file
3
ansible-runner-2.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c420e76ba18311d6350c8982fc3c0519b00624654053e538b0ea630651b08921
|
||||
size 176450
|
@ -1,85 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 11:00:44 UTC 2022 - pgajdos@suse.com
|
||||
Thu Apr 20 21:01:20 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- do not require python-mock: the testsuite is not running anyway
|
||||
and newer testsuite (e. g. 2.1.3) will not use mock at all
|
||||
https://trello.com/c/S6eADbii/64-remove-python-mock
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 23 17:43:04 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to version 1.4.7
|
||||
* Fixed an issue where byte sequences in the output that are not
|
||||
interpretable as UTF-8 would break the job execution.
|
||||
* Fixed a bug that broke Ansible playbook execution prior to
|
||||
version 2.8 of Ansible
|
||||
* Fix an issue with --process_isoloation_*_ paths parsing cli args
|
||||
* Switch extravar format so we can support more than just string
|
||||
types
|
||||
* Make sure job events folder is created earlier to prevent
|
||||
errors when using immediately after starting a runner job
|
||||
* Annotate all runner_on events with start/end/duration times
|
||||
- Drop 0001-Use-the-correct-python-executable-for-tests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 15:39:49 UTC 2020 - Lars Vogdt <lars@linux-schulserver.de>
|
||||
|
||||
- update to 1.4.4:
|
||||
+ Fix some unicode issues when using command line override on python 2.7
|
||||
+ Fix an issue with file handles not closing on the pexpect pty
|
||||
+ Fix missing ssh_key parameter from module interface
|
||||
+ Fix a bug where the ssh agent process would hang around after
|
||||
process isolation exit causing a failure to remove temporary directories
|
||||
1.4.2 (2019-10-04)
|
||||
+ Reverted ansible-runner --version to print a semantic version number
|
||||
1.4.1 (2019-10-03)
|
||||
+ Fixed a bug that prevented ANSIBLE_HOST_KEY_CHECKING from being respected
|
||||
1.4.0 (2019-09-20)
|
||||
+ Added changed count to stats data
|
||||
+ Added initial support for gathering performance statistics using
|
||||
the system's cgroup interface
|
||||
+ Fix command line args override missing from module run kwargs
|
||||
+ Omit inventory argument entirely if no inventory content is supplied
|
||||
this allows ansible to pick up inventory from implicit locations and ansible.cfg
|
||||
+ Fix an issue where Runner wouldn't properly clean up process
|
||||
isolation temporary directories
|
||||
+ Fix error generated if unsafe parameter is used on vars prompt tasks
|
||||
+ Fix an issue where additional callback plugins weren't being
|
||||
used when defined in the environment
|
||||
+ Fix an issue where Runner would stop returning events after the
|
||||
playbook finished when using run_async
|
||||
+ Fix an issue where unicode in task data would cause Runner to fail
|
||||
+ Fix issues using vaulted data that would cause Runner to fail
|
||||
+ Fix an issue where artifact-dir was only allowed in ad-hoc mode
|
||||
- run fdupes
|
||||
- remove upstreamed patch:
|
||||
0001-Use-the-correct-python-executable-for-tests.patch
|
||||
- disable tests again for now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 12:14:09 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- update to 1.3.4:
|
||||
* make class __name__ match Ansible expectation
|
||||
* bundle six.ensure_str to avoid pinning to a new six version
|
||||
* Updating for 1.3.4 release
|
||||
* Adopt modified upstream packaging
|
||||
* Add missing lockfile RPM dependency
|
||||
* Fix an issue with missing options
|
||||
* port old callback tests to integration folder
|
||||
* Fix missing toplevel host events docs issue
|
||||
* Move integration data folder, add new test
|
||||
- fix license - ansible-runner also contains code licensed under
|
||||
GPL-3.0-or-later
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 27 13:06:16 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- enable tests in %check
|
||||
- add 0001-Use-the-correct-python-executable-for-tests.patch to fix
|
||||
tests with python3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 24 06:28:48 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- Initial packaging (version 1.3.3)
|
||||
- new package ansible-runner
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ansible-runner
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,56 +15,70 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define module_name ansible-runner
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
# Leap15, SLES15
|
||||
%define pythons python310
|
||||
%define ansible_python python310
|
||||
%define ansible_python_executable python3.10
|
||||
%define ansible_python_sitelib %python310_sitelib
|
||||
%else
|
||||
# Tumbleweed
|
||||
%define pythons python3
|
||||
%define ansible_python python3
|
||||
%define ansible_python_executable python3
|
||||
%define ansible_python_sitelib %python3_sitelib
|
||||
%endif
|
||||
|
||||
Name: ansible-runner
|
||||
Version: 1.4.7
|
||||
Version: 2.3.2
|
||||
Release: 0
|
||||
Summary: Package for interfacing with Ansible
|
||||
License: Apache-2.0 AND GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ansible/ansible-runner
|
||||
Source: https://files.pythonhosted.org/packages/source/a/ansible-runner/ansible-runner-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-PyYAML
|
||||
BuildRequires: python3-pexpect
|
||||
BuildRequires: python3-psutil
|
||||
BuildRequires: python3-python-daemon
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-pexpect >= 4.5
|
||||
Requires: python3-psutil
|
||||
Requires: python3-python-daemon
|
||||
Requires: python3-six >= 1.12
|
||||
Summary: Run ansible-playbook inside an execution environment
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/ansible/%{module_name}
|
||||
Source: https://files.pythonhosted.org/packages/source/a/%{module_name}/%{module_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{ansible_python}-setuptools
|
||||
BuildRequires: %{ansible_python}-pbr
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{ansible_python}-packaging
|
||||
BuildRequires: %{ansible_python}-pexpect >= 4.5
|
||||
BuildRequires: %{ansible_python}-python-daemon
|
||||
BuildRequires: %{ansible_python}-PyYAML
|
||||
BuildRequires: %{ansible_python}-six
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: %{ansible_python}-packaging
|
||||
Requires: %{ansible_python}-pexpect >= 4.5
|
||||
Requires: %{ansible_python}-python-daemon
|
||||
Requires: %{ansible_python}-PyYAML
|
||||
Requires: %{ansible_python}-six
|
||||
|
||||
%description
|
||||
Ansible Runner is a tool and python library that helps when interfacing with
|
||||
Ansible directly or as part of another system whether that be through a
|
||||
container image interface, as a standalone tool, or as a Python module that
|
||||
can be imported. The goal is to provide a stable and consistent interface
|
||||
abstraction to Ansible. This allows Ansible to be embedded into other
|
||||
systems that don’t want to manage the complexities of the interface on
|
||||
their own (such as CI/CD platforms, Jenkins, or other automated tooling)
|
||||
Consistent Ansible Python API and CLI with container and process isolation runtime capabilities
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{module_name}-%{version}
|
||||
|
||||
%build
|
||||
%python3_build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python3_install
|
||||
# dont polute the namespace with tests
|
||||
rm -r %{buildroot}%{python3_sitelib}/test/
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_install
|
||||
%fdupes %{buildroot}%{ansible_python_sitelib}
|
||||
|
||||
sed -i '1s|^#!%{_bindir}/env bash$|#!%{_bindir}/bash|' %{buildroot}/%{_datadir}/%{module_name}/utils/entrypoint.sh
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%{_bindir}/ansible-runner
|
||||
%{python3_sitelib}/ansible_runner
|
||||
%{python3_sitelib}/ansible_runner-%{version}-py*.egg-info
|
||||
%{_bindir}/%{module_name}
|
||||
%{ansible_python_sitelib}/ansible_runner
|
||||
%{ansible_python_sitelib}/ansible_runner-*-info
|
||||
%dir %{_datadir}/%{module_name}/
|
||||
%dir %{_datadir}/%{module_name}/utils/
|
||||
%{_datadir}/%{module_name}/utils/entrypoint.sh
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user