From a4ca722c173d0216f6758672b07335abf6baf58cc8059d87f0f3b5debfa3bea2 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 20 Feb 2020 15:44:25 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-runner?expand=0&rev=7 --- ansible-runner-1.3.4.tar.gz | 3 --- ansible-runner-1.4.4.tar.gz | 3 +++ ansible-runner.changes | 35 +++++++++++++++++++++++++++++++++++ ansible-runner.spec | 32 +++++++++++++++----------------- 4 files changed, 53 insertions(+), 20 deletions(-) delete mode 100644 ansible-runner-1.3.4.tar.gz create mode 100644 ansible-runner-1.4.4.tar.gz diff --git a/ansible-runner-1.3.4.tar.gz b/ansible-runner-1.3.4.tar.gz deleted file mode 100644 index 38e616f..0000000 --- a/ansible-runner-1.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60f531f1cb9b2b0cb1e8cf8dc9f81186aecda22d01587f35c61a833d0198f220 -size 40821 diff --git a/ansible-runner-1.4.4.tar.gz b/ansible-runner-1.4.4.tar.gz new file mode 100644 index 0000000..b1e17e0 --- /dev/null +++ b/ansible-runner-1.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46f4bb39f98d53a82265e8439a4e4020016b3493982ec3cbee73a42627218b8c +size 89608 diff --git a/ansible-runner.changes b/ansible-runner.changes index 9cd5235..70c81a7 100644 --- a/ansible-runner.changes +++ b/ansible-runner.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Feb 20 15:39:49 UTC 2020 - Lars Vogdt + +- 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 diff --git a/ansible-runner.spec b/ansible-runner.spec index b331e74..c67be84 100644 --- a/ansible-runner.spec +++ b/ansible-runner.spec @@ -1,7 +1,7 @@ # -# spec file for package python-ansible-runner +# spec file for package ansible-runner # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,31 +12,32 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + Name: ansible-runner -Version: 1.3.4 +Version: 1.4.4 Release: 0 -License: Apache-2.0 and GPL-3.0-or-later Summary: Package for interfacing with Ansible -Url: https://github.com/ansible/ansible-runner +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 -# PATCH-FIX-UPSTREAM 0001-Use-the-correct-python-executable-for-tests.patch -- https://github.com/ansible/ansible-runner/pull/290 -Patch0: 0001-Use-the-correct-python-executable-for-tests.patch +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-setuptools -BuildRequires: python3-pytest +BuildRequires: python3-PyYAML BuildRequires: python3-mock BuildRequires: python3-pexpect BuildRequires: python3-psutil -BuildRequires: python3-PyYAML +BuildRequires: python3-pytest 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-PyYAML Requires: python3-six >= 1.12 BuildArch: noarch @@ -50,8 +51,7 @@ 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) %prep -%setup -q -n ansible-runner-%{version} -%patch0 -p1 +%setup -q %build %python3_build @@ -60,9 +60,7 @@ their own (such as CI/CD platforms, Jenkins, or other automated tooling) %python3_install # dont polute the namespace with tests rm -r %{buildroot}%{python3_sitelib}/test/ - -%check -py.test -v test +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %doc README.md