- update to 1.6.3:
* The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}. * Any data file can also be JSON. Use sparingly -- with great power comes great responsibility. Starting file with "{" or "[" denotes JSON. * Added 'gathering' param for ansible.cfg to change the default gather_facts policy. * Accelerate improvements: + multiple users can connect with different keys, when accelerate_multi_key = yes is specified in the ansible.cfg. + daemon lifetime is now based on the time from the last activity, not the time from the daemon's launch. * ansible-playbook now accepts --force-handlers to run handlers even if tasks result in failures. * Added VMWare support with the vsphere_guest module. * many new modules and ther notable changes, please read /usr/share/doc/packages/ansible/CHANGELOG.md for details - use new upstream URL(s) - require python-httplib2 and python-setuptools - ignore "wrong" permissions of synchronize.py - ignore rpmlint warning about requiring python-httplib2 explicitely OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=24
This commit is contained in:
parent
f659e13234
commit
4d86097e4e
113
CHANGELOG.md
113
CHANGELOG.md
@ -1,6 +1,117 @@
|
|||||||
Ansible Changes By Release
|
Ansible Changes By Release
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
## 1.6.3 "And the Cradle Will Rock" - Jun 09, 2014
|
||||||
|
|
||||||
|
- Corrects a regression where handlers were run across all hosts, not just those that triggered the handler.
|
||||||
|
- Fixed a bug in which modules did not support properly moving a file atomically when su was in use.
|
||||||
|
- Fixed two bugs related to symlinks with directories when using the file module.
|
||||||
|
- Fixed a bug related to MySQL master replication syntax.
|
||||||
|
- Corrects a regression in the order of variable merging done by the internal runner code.
|
||||||
|
- Various other minor bug fixes.
|
||||||
|
|
||||||
|
## 1.6.2 "And the Cradle Will Rock" - May 23, 2014
|
||||||
|
|
||||||
|
- If an improper locale is specified, core modules will now automatically revert to using the 'C' locale.
|
||||||
|
- Modules using the fetch_url utility will now obey proxy environment variables.
|
||||||
|
- The SSL validation step in fetch_url will likewise obey proxy settings, however only proxies using the http protocol are supported.
|
||||||
|
- Fixed multiple bugs in docker module related to version changes upstream.
|
||||||
|
- Fixed a bug in the ec2_group module where egress rules were lost when a VPC was specified.
|
||||||
|
- Fixed two bugs in the synchronize module:
|
||||||
|
* a trailing slash might be lost when calculating relative paths, resulting in an incorrect destination.
|
||||||
|
* the sync might use the inventory directory incorrectly instead of the playbook or role directory.
|
||||||
|
- Files will now only be chown'd on an atomic move if the src/dest uid/gid do not match.
|
||||||
|
|
||||||
|
## 1.6.1 "And the Cradle Will Rock" - May 7, 2014
|
||||||
|
|
||||||
|
- Fixed a bug in group_by, where systems were being grouped incorrectly.
|
||||||
|
- Fixed a bug where file descriptors may leak to a child process when using accelerate.
|
||||||
|
- Fixed a bug in apt_repository triggered when python-apt not being installed/available.
|
||||||
|
- Fixed a bug in the apache2_module module, where modules were not being disabled correctly.
|
||||||
|
|
||||||
|
## 1.6 "And the Cradle Will Rock" - May 5, 2014
|
||||||
|
|
||||||
|
Major features/changes:
|
||||||
|
|
||||||
|
* The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}.
|
||||||
|
* Any data file can also be JSON. Use sparingly -- with great power comes great responsibility. Starting file with "{" or "[" denotes JSON.
|
||||||
|
* Added 'gathering' param for ansible.cfg to change the default gather_facts policy.
|
||||||
|
* Accelerate improvements:
|
||||||
|
- multiple users can connect with different keys, when `accelerate_multi_key = yes` is specified in the ansible.cfg.
|
||||||
|
- daemon lifetime is now based on the time from the last activity, not the time from the daemon's launch.
|
||||||
|
* ansible-playbook now accepts --force-handlers to run handlers even if tasks result in failures.
|
||||||
|
* Added VMWare support with the vsphere_guest module.
|
||||||
|
|
||||||
|
New Modules:
|
||||||
|
|
||||||
|
* files: replace
|
||||||
|
* packaging: cpanm (Perl)
|
||||||
|
* packaging: portage
|
||||||
|
* packaging: composer (PHP)
|
||||||
|
* packaging: homebrew_tap (OS X)
|
||||||
|
* packaging: homebrew_cask (OS X)
|
||||||
|
* packaging: apt_rpm
|
||||||
|
* packaging: layman
|
||||||
|
* monitoring: logentries
|
||||||
|
* monitoring: rollbar_deployment
|
||||||
|
* monitoring: librato_annotation
|
||||||
|
* notification: nexmo (SMS)
|
||||||
|
* notification: twilio (SMS)
|
||||||
|
* notification: slack (Slack.com)
|
||||||
|
* notification: typetalk (Typetalk.in)
|
||||||
|
* notification: sns (Amazon)
|
||||||
|
* system: debconf
|
||||||
|
* system: ufw
|
||||||
|
* system: locale_gen
|
||||||
|
* system: alternatives
|
||||||
|
* system: capabilities
|
||||||
|
* net_infrastructure: bigip_facts
|
||||||
|
* net_infrastructure: dnssimple
|
||||||
|
* net_infrastructure: lldp
|
||||||
|
* web_infrastructure: apache2_module
|
||||||
|
* cloud: digital_ocean_domain
|
||||||
|
* cloud: digital_ocean_sshkey
|
||||||
|
* cloud: rax_identity
|
||||||
|
* cloud: rax_cbs (cloud block storage)
|
||||||
|
* cloud: rax_cbs_attachments
|
||||||
|
* cloud: ec2_asg (configure autoscaling groups)
|
||||||
|
* cloud: ec2_scaling_policy
|
||||||
|
* cloud: ec2_metric_alarm
|
||||||
|
* cloud: vsphere_guest
|
||||||
|
|
||||||
|
Other notable changes:
|
||||||
|
|
||||||
|
* example callback plugin added for hipchat
|
||||||
|
* added example inventory plugin for vcenter/vsphere
|
||||||
|
* added example inventory plugin for doing really trivial inventory from SSH config files
|
||||||
|
* libvirt module now supports destroyed and paused as states
|
||||||
|
* s3 module can specify metadata
|
||||||
|
* security token additions to ec2 modules
|
||||||
|
* setup module code moved into module_utils/, facts now accessible by other modules
|
||||||
|
* synchronize module sets relative dirs based on inventory or role path
|
||||||
|
* misc bugfixes and other parameters
|
||||||
|
* the ec2_key module now has wait/wait_timeout parameters
|
||||||
|
* added version_compare filter (see docs)
|
||||||
|
* added ability for module documentation YAML to utilize shared module snippets for common args
|
||||||
|
* apt module now accepts "deb" parameter to install local dpkg files
|
||||||
|
* regex_replace filter plugin added
|
||||||
|
* added an inventory script for Docker
|
||||||
|
* added an inventory script for Abiquo
|
||||||
|
* the get_url module now accepts url_username and url_password as parameters, so sites which require
|
||||||
|
authentication no longer need to have them embedded in the url
|
||||||
|
* ... to be filled in from changelogs ...
|
||||||
|
*
|
||||||
|
|
||||||
|
## 1.5.5 "Love Walks In" - April 18, 2014
|
||||||
|
|
||||||
|
- Security fix for vault, to ensure the umask is set to a restrictive mode before creating/editing vault files.
|
||||||
|
- Backported apt_repository security fixes relating to filename/mode upon sources list file creation.
|
||||||
|
|
||||||
|
## 1.5.4 "Love Walks In" - April 1, 2014
|
||||||
|
|
||||||
|
- Security fix for safe_eval, which further hardens the checking of the evaluation function.
|
||||||
|
- Changing order of variable precendence for system facts, to ensure that inventory variables take precedence over any facts that may be set on a host.
|
||||||
|
|
||||||
## 1.5.3 "Love Walks In" - March 13, 2014
|
## 1.5.3 "Love Walks In" - March 13, 2014
|
||||||
|
|
||||||
- Fix validate_certs and run_command errors from previous release
|
- Fix validate_certs and run_command errors from previous release
|
||||||
@ -36,6 +147,7 @@ Major features/changes:
|
|||||||
* Start of new integration test infrastructure (WIP, more details TBD)
|
* Start of new integration test infrastructure (WIP, more details TBD)
|
||||||
* if repoquery is unavailble, the yum module will automatically attempt to install yum-utils
|
* if repoquery is unavailble, the yum module will automatically attempt to install yum-utils
|
||||||
* ansible-vault: a framework for encrypting your playbooks and variable files
|
* ansible-vault: a framework for encrypting your playbooks and variable files
|
||||||
|
* added support for privilege escalation via 'su' into bin/ansible and bin/ansible-playbook and associated keywords 'su', 'su_user', 'su_pass' for tasks/plays
|
||||||
|
|
||||||
New modules:
|
New modules:
|
||||||
|
|
||||||
@ -81,7 +193,6 @@ Other notable changes (many new module params & bugfixes may not not listed):
|
|||||||
* md5 logic improved during sudo operation
|
* md5 logic improved during sudo operation
|
||||||
* support for ed25519 keys in authorized_key module
|
* support for ed25519 keys in authorized_key module
|
||||||
* ability to set directory permissions during a recursive copy (directory_mode parameter)
|
* ability to set directory permissions during a recursive copy (directory_mode parameter)
|
||||||
* update docker module, support for using docker python library 0.3.0
|
|
||||||
|
|
||||||
## 1.4.5 "Could This Be Magic" - February 12, 2014
|
## 1.4.5 "Could This Be Magic" - February 12, 2014
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d45b1f9ca4224d97134c6e006c4d83d7ad4c79356e21a35a3fc1e3409aa2d0c6
|
|
||||||
size 427817
|
|
3
ansible-1.6.3.tar.bz2
Normal file
3
ansible-1.6.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:929d5b566fdd3618d3161747ec13d07f459a2f434ac56590f14b5d5f9cbf3f45
|
||||||
|
size 516232
|
@ -1,2 +1,5 @@
|
|||||||
addFilter("non-executable-script.*/usr/share/ansible/.*");
|
addFilter("non-executable-script.*/usr/share/ansible/.*");
|
||||||
addFilter("non-executable-script.*/usr/.*/ansible/utils/module_docs.py");
|
addFilter("non-executable-script.*/usr/.*/ansible/utils/module_docs.py");
|
||||||
|
addFilter("non-executable-script.*/usr/.*/ansible/runner/action_plugins/synchronize.py");
|
||||||
|
# A Python HTTP client library ...
|
||||||
|
addFilter("explicit-lib-dependency python-httplib2");
|
||||||
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 19 07:28:24 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- update to 1.6.3:
|
||||||
|
* The deprecated legacy variable templating system has been
|
||||||
|
finally removed. Use {{ foo }} always not $foo or ${foo}.
|
||||||
|
* Any data file can also be JSON. Use sparingly -- with great power
|
||||||
|
comes great responsibility. Starting file with "{" or "[" denotes JSON.
|
||||||
|
* Added 'gathering' param for ansible.cfg to change the default
|
||||||
|
gather_facts policy.
|
||||||
|
* Accelerate improvements:
|
||||||
|
+ multiple users can connect with different keys, when
|
||||||
|
accelerate_multi_key = yes is specified in the ansible.cfg.
|
||||||
|
+ daemon lifetime is now based on the time from the last activity,
|
||||||
|
not the time from the daemon's launch.
|
||||||
|
* ansible-playbook now accepts --force-handlers to run handlers
|
||||||
|
even if tasks result in failures.
|
||||||
|
* Added VMWare support with the vsphere_guest module.
|
||||||
|
* many new modules and ther notable changes, please read
|
||||||
|
/usr/share/doc/packages/ansible/CHANGELOG.md for details
|
||||||
|
- use new upstream URL(s)
|
||||||
|
- require python-httplib2 and python-setuptools
|
||||||
|
- ignore "wrong" permissions of synchronize.py
|
||||||
|
- ignore rpmlint warning about requiring python-httplib2 explicitely
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 20 23:24:56 UTC 2014 - lars@linux-schulserver.de
|
Thu Mar 20 23:24:56 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
38
ansible.spec
38
ansible.spec
@ -18,26 +18,29 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ansible
|
Name: ansible
|
||||||
Version: 1.5.3
|
Version: 1.6.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SSH-based configuration management, deployment, and orchestration engine
|
Summary: SSH-based configuration management, deployment, and orchestration engine
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Url: http://www.ansibleworks.com
|
Url: http://www.ansible.com/
|
||||||
# http://ansibleworks.com/releases/ansible-%%{version}.tar.gz
|
# http://releases.ansible.com/ansible/ansible-%%{version}.tar.gz
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
# https://raw.github.com/ansible/ansible/release%%{version}/CHANGELOG.md
|
# https://raw.github.com/ansible/ansible/release%%{version}/CHANGELOG.md
|
||||||
Source2: CHANGELOG.md
|
Source2: CHANGELOG.md
|
||||||
|
Requires: sshpass
|
||||||
#
|
#
|
||||||
# (open)SUSE
|
# (open)SUSE
|
||||||
#
|
#
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
|
Requires: python-httplib2
|
||||||
Requires: python-jinja2
|
Requires: python-jinja2
|
||||||
Requires: python-keyczar
|
Requires: python-keyczar
|
||||||
Requires: sshpass
|
Requires: python-setuptools
|
||||||
%if 0%{?suse_version} > 01020
|
%if 0%{?suse_version} > 01020
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Recommends: python-paramiko
|
Recommends: python-paramiko
|
||||||
@ -55,28 +58,35 @@ BuildArch: noarch
|
|||||||
#
|
#
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 5
|
%if 0%{?rhel} && 0%{?rhel} <= 5
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python26-devel
|
||||||
|
BuildRequires: python26-setuptools
|
||||||
Requires: python26-PyYAML
|
Requires: python26-PyYAML
|
||||||
|
Requires: python26-httplib2
|
||||||
Requires: python26-jinja2
|
Requires: python26-jinja2
|
||||||
Requires: python26-keyczar
|
Requires: python26-keyczar
|
||||||
Requires: python26-paramiko
|
Requires: python26-paramiko
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} > 5 || 0%{?rhel_version} > 505
|
%if 0%{?rhel} > 5 || 0%{?rhel_version} > 505
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python26-devel
|
||||||
Requires: PyYAML
|
BuildRequires: python26-setuptools
|
||||||
Requires: python-jinja2
|
Requires: python26-PyYAML
|
||||||
Requires: python-keyczar
|
Requires: python26-httplib2
|
||||||
Requires: python-paramiko
|
Requires: python26-jinja2
|
||||||
|
Requires: python26-keyczar
|
||||||
|
Requires: python26-paramiko
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
# Fedora
|
# Fedora
|
||||||
#
|
#
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
Requires: PyYAML
|
Requires: PyYAML
|
||||||
|
Requires: python-httplib2
|
||||||
Requires: python-jinja2
|
Requires: python-jinja2
|
||||||
Requires: python-keyczar
|
Requires: python-keyczar
|
||||||
Requires: python-paramiko
|
Requires: python-paramiko
|
||||||
|
Requires: python-setuptools
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -107,12 +117,16 @@ cp -vr library/* %{buildroot}%{_datadir}/ansible/
|
|||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/ansible*
|
%{python_sitelib}/ansible*
|
||||||
%{_bindir}/ansible*
|
%{_bindir}/ansible*
|
||||||
%dir %{_datadir}/ansible
|
%dir %{_datadir}/ansible
|
||||||
%{_datadir}/ansible/*
|
%dir %{_datadir}/ansible/*
|
||||||
|
%{_datadir}/ansible/*/*
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}
|
%config(noreplace) %{_sysconfdir}/%{name}
|
||||||
%doc README.md PKG-INFO COPYING CHANGELOG.md
|
%doc README.md PKG-INFO COPYING CHANGELOG.md
|
||||||
%doc %{_mandir}/man1/ansible*
|
%doc %{_mandir}/man1/ansible*
|
||||||
|
Loading…
Reference in New Issue
Block a user