From 21ee6c73bcf68f92dbcb51f4803ec944f2605ffd Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 30 Jul 2018 17:25:29 +0000 Subject: [PATCH] Accepting request 626515 from home:lrupp:branches:systemsmanagement - update to 2.6.2 Minor Changes + Sceanrio guide for removing an existing virtual machine is added. + lineinfile - add warning when using an empty regexp + Restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases. Bugfixes: + Add text output along with structured output in nxos_facts + Allow more than one page of results by using the right pagination indicator ('NextMarker' instead of 'NextToken'). + Fix an atomic_move error that is 'true', but misleading. Now we show all 3 files involved and clarify what happened. + Fix eos_l2_interface eapi. + Fix fetching old style facts in junos_facts module + Fix get_device_info nxos zero or more whitespace regex + Fix nxos CI failures + Fix nxos_nxapi default http behavior + Fix nxos_vxlan_vtep_vni + Fix regex network_os_platform nxos + Refactor nxos cliconf get_device_info for non structured output supported devices + To fix the NoneType error raised in ios_l2_interface when Access Mode VLAN is unassigned + emtpy host/group name is an error + fix default SSL version for docker modules + fix mail module when using starttls + fix nmap config example + fix ps detection of service + fix the remote tmp folder permissions issue when becoming a non admin user OBS-URL: https://build.opensuse.org/request/show/626515 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=114 --- ansible-2.6.0.tar.gz | 3 -- ansible-2.6.2.tar.gz | 3 ++ ansible.changes | 91 ++++++++++++++++++++++++++++++++++++++++++++ ansible.spec | 26 ++++++++----- 4 files changed, 110 insertions(+), 13 deletions(-) delete mode 100644 ansible-2.6.0.tar.gz create mode 100644 ansible-2.6.2.tar.gz diff --git a/ansible-2.6.0.tar.gz b/ansible-2.6.0.tar.gz deleted file mode 100644 index e4c80ce..0000000 --- a/ansible-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3550bf16bf2c34cc88bf3870e91b836e44c1c288d148968c4d855dae2560faf5 -size 10721104 diff --git a/ansible-2.6.2.tar.gz b/ansible-2.6.2.tar.gz new file mode 100644 index 0000000..3d852d8 --- /dev/null +++ b/ansible-2.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:747e4cca09c10833ffe3a7c53af310d2d387bd4f499ec6e1bde60662606aaff8 +size 10738149 diff --git a/ansible.changes b/ansible.changes index b9efe2d..2d09ff1 100644 --- a/ansible.changes +++ b/ansible.changes @@ -1,3 +1,94 @@ +------------------------------------------------------------------- +Mon Jul 30 15:05:07 UTC 2018 - lars@linux-schulserver.de + +- update to 2.6.2 + Minor Changes + + Sceanrio guide for removing an existing virtual machine is added. + + lineinfile - add warning when using an empty regexp + + Restore module_utils.basic.BOOLEANS variable for backwards compatibility + with the module API in older ansible releases. + Bugfixes: + + Add text output along with structured output in nxos_facts + + Allow more than one page of results by using the right pagination + indicator ('NextMarker' instead of 'NextToken'). + + Fix an atomic_move error that is 'true', but misleading. + Now we show all 3 files involved and clarify what happened. + + Fix eos_l2_interface eapi. + + Fix fetching old style facts in junos_facts module + + Fix get_device_info nxos zero or more whitespace regex + + Fix nxos CI failures + + Fix nxos_nxapi default http behavior + + Fix nxos_vxlan_vtep_vni + + Fix regex network_os_platform nxos + + Refactor nxos cliconf get_device_info for non structured + output supported devices + + To fix the NoneType error raised in ios_l2_interface when + Access Mode VLAN is unassigned + + emtpy host/group name is an error + + fix default SSL version for docker modules + + fix mail module when using starttls + + fix nmap config example + + fix ps detection of service + + fix the remote tmp folder permissions issue when becoming a non + admin user + + fix typoe in sysvinit that breaks update.rc-d detection + + fixes docker_container compatibilty with docker-py < 2.2 + + get_capabilities in nxapi module_utils should not return empty dictionary + + inventory - When using an inventory directory, ensure extension + comparison uses text types + + ios_vlan - fix unable to identify correct vlans issue + + nxos_facts warning message improved + + openvswitch_db - make 'key' argument optional + + pause - do not set stdout to raw mode when redirecting to a file + + pause - nest try except when importing curses to gracefully fail + if curses is not present + + plugins/inventory/openstack.py - Do not create group with empty + name if region is not set + + preseve delegation info on nolog + + remove ambiguity when it comes to 'the source' + + remove dupes from var precedence + + restores filtering out conflicting facts + + user - fix bug that resulted in module always reporting a change when + specifiying the home directory on FreeBSD + + user - use correct attribute name in FreeBSD for creat_home + + vultr - Do not fail trying to load configuration from ini files if + required variables have been set as environment variables. + + vyos_command correcting conditionals looping + + win_chocolatey - enable TLSv1.2 support when downloading the + Chocolatey installer + + win_reboot - fix for handling an already scheduled reboot and other + minor log formatting issues + + win_reboot - fix issue when overridding connection timeout hung + the post reboot uptime check + + win_reboot - handle post reboots when running test_command + + win_security_policy - allows an empty string to reset a policy value + + win_share - discard any cmdlet output we don't use to ensure only the + return json is received by Ansible + + win_unzip - discard any cmdlet output we don't use to ensure only the + return json is received by Ansible + + win_updates - fixed module return value is lost in error in some cases + + win_user - Use LogonUser to validate the password as it does not + rely on SMB/RPC to be available + + Security Fix - avoid loading host/group vars from cwd when not + specifying a playbook or playbook base dir + + Security Fix - avoid using ansible.cfg in a world writable dir. + + Fix junos_config confirm commit timeout issue + (https://github.com/ansible/ansible/pull/41527) + + file module - The touch subcommand had its diff output broken during + the 2.6.x development cycle. This is now fixed. + + inventory manager - This fixes required options being populated before + the inventory config file is read, so the required options may be + set in the config file. + + nsupdate - allow hmac-sha384 https://github.com/ansible/ansible/pull/42209 + + win_domain - fixes typo in one of the AD cmdlets + https://github.com/ansible/ansible/issues/41536 + + win_group_membership - uses the internal Ansible SID conversion logic + and uses that when comparing group membership instead of the name +- use fdupes to save some space in python_sitelib +- define BuildRoot on older distributions like SLE-11 +- be a bit more flexible with the ending of manpage files to allow + Fedora builds to succeed + ------------------------------------------------------------------- Mon Jul 2 17:23:10 UTC 2018 - mrueckert@suse.de diff --git a/ansible.spec b/ansible.spec index 9ebe14d..c3d104e 100644 --- a/ansible.spec +++ b/ansible.spec @@ -36,7 +36,7 @@ BuildArch: noarch %endif Name: ansible -Version: 2.6.0 +Version: 2.6.2 Release: 0 Summary: Software automation engine License: GPL-3.0-or-later @@ -65,11 +65,14 @@ BuildRequires: %{python}-Jinja2 BuildRequires: %{python}-PyYAML BuildRequires: %{python}-paramiko BuildRequires: %{python}-pycrypto >= 2.6 +BuildRequires: fdupes Requires: %{python}-Jinja2 Requires: %{python}-PyYAML Requires: %{python}-paramiko Requires: %{python}-passlib Requires: %{python}-pycrypto >= 2.6 +%else +BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %endif # RHEL <=5 @@ -142,6 +145,9 @@ cp examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/ mkdir -p %{buildroot}/%{_mandir}/man1/ cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/ mkdir -p %{buildroot}/%{_datadir}/ansible +%if 0%{?suse_version} >= 01130 +%fdupes %{buildroot}/%{python_sitelib}/ansible/ +%endif %files %defattr(-,root,root,-) @@ -166,15 +172,15 @@ mkdir -p %{buildroot}/%{_datadir}/ansible %else %{python_sitelib}/* %endif -%{_mandir}/man1/ansible.1%{?ext_man} -%{_mandir}/man1/ansible-config.1%{?ext_man} -%{_mandir}/man1/ansible-console.1%{?ext_man} -%{_mandir}/man1/ansible-doc.1%{?ext_man} -%{_mandir}/man1/ansible-galaxy.1%{?ext_man} -%{_mandir}/man1/ansible-inventory.1%{?ext_man} -%{_mandir}/man1/ansible-playbook.1%{?ext_man} -%{_mandir}/man1/ansible-pull.1%{?ext_man} -%{_mandir}/man1/ansible-vault.1%{?ext_man} +%{_mandir}/man1/ansible.1%{?ext_man}* +%{_mandir}/man1/ansible-config.1%{?ext_man}* +%{_mandir}/man1/ansible-console.1%{?ext_man}* +%{_mandir}/man1/ansible-doc.1%{?ext_man}* +%{_mandir}/man1/ansible-galaxy.1%{?ext_man}* +%{_mandir}/man1/ansible-inventory.1%{?ext_man}* +%{_mandir}/man1/ansible-playbook.1%{?ext_man}* +%{_mandir}/man1/ansible-pull.1%{?ext_man}* +%{_mandir}/man1/ansible-vault.1%{?ext_man}* %dir %{_sysconfdir}/ansible %config(noreplace) %{_sysconfdir}/ansible/ansible.cfg %config(noreplace) %{_sysconfdir}/ansible/hosts