|
|
467cba4 |
%if 0%{?rhel} == 5
|
|
|
467cba4 |
%define __python /usr/bin/python26
|
|
|
467cba4 |
%endif
|
|
|
467cba4 |
|
|
|
4e9234e |
%if 0%{?rhel} <= 5
|
|
|
4e9234e |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
4e9234e |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
4e9234e |
%endif
|
|
|
4e9234e |
|
|
|
4f25327 |
Name: ansible
|
|
|
ef39e27 |
Summary: SSH-based configuration management, deployment, and task execution system
|
|
|
aa844c7 |
Version: 1.7
|
|
|
6543624 |
Release: 1%{?dist}
|
|
|
4f25327 |
|
|
|
4f25327 |
Group: Development/Libraries
|
|
|
4e9234e |
License: GPLv3
|
|
|
13553cc |
Source0: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
|
|
2c0e80e |
# Patch to make ansible-vault use the forward-compat python-crypto2.6 package
|
|
|
2c0e80e |
# Upstreamed here: https://github.com/ansible/ansible/pull/6498
|
|
|
2c0e80e |
Patch0: 0001-Use-setuptools-to-get-a-recent-enough-version-of-pyt.patch
|
|
|
13553cc |
Url: http://ansible.com
|
|
|
4f25327 |
|
|
|
4f25327 |
BuildArch: noarch
|
|
|
467cba4 |
%if 0%{?rhel} && 0%{?rhel} <= 5
|
|
|
467cba4 |
BuildRequires: python26-devel
|
|
|
467cba4 |
|
|
|
467cba4 |
Requires: python26-PyYAML
|
|
|
467cba4 |
Requires: python26-paramiko
|
|
|
467cba4 |
Requires: python26-jinja2
|
|
|
467cba4 |
Requires: python26-keyczar
|
|
|
cb37d1d |
Requires: python26-httplib2
|
|
|
467cba4 |
%else
|
|
|
4f25327 |
BuildRequires: python2-devel
|
|
|
03e3edf |
BuildRequires: python-setuptools
|
|
|
4f25327 |
|
|
|
4f25327 |
Requires: PyYAML
|
|
|
4f25327 |
Requires: python-paramiko
|
|
|
4f25327 |
Requires: python-jinja2
|
|
|
1869e0c |
Requires: python-keyczar
|
|
|
cb37d1d |
Requires: python-httplib2
|
|
|
03e3edf |
Requires: python-setuptools
|
|
|
467cba4 |
%endif
|
|
|
1869e0c |
|
|
|
2c0e80e |
%if 0%{?rhel} == 6
|
|
|
2c0e80e |
# RHEL 6 needs a newer version of the pycrypto library for the ansible-vault
|
|
|
2c0e80e |
# command. Note: If other pieces of ansible also grow to need pycrypto you may
|
|
|
2c0e80e |
# need to add: Requires: python-crypto or patch the other pieces of ansible to
|
|
|
2c0e80e |
# make use of this forward compat package (see the patch for ansible-vault
|
|
|
2c0e80e |
# above to see what needs to be done.)
|
|
|
2c0e80e |
Requires: python-crypto2.6
|
|
|
2c0e80e |
%endif
|
|
|
2c0e80e |
|
|
|
1869e0c |
#
|
|
|
1869e0c |
# This is needed to update the old ansible-firewall package that is no
|
|
|
1869e0c |
# longer needed. Note that you should also remove ansible-node-firewall manually
|
|
|
1869e0c |
# Where you still have it installed.
|
|
|
1869e0c |
#
|
|
|
1869e0c |
Provides: ansible-fireball = %{version}-%{release}
|
|
|
1869e0c |
Obsoletes: ansible-fireball < 1.2.4
|
|
|
4f25327 |
|
|
|
4f25327 |
%description
|
|
|
4e9234e |
|
|
|
4f25327 |
Ansible is a radically simple model-driven configuration management,
|
|
|
4f25327 |
multi-node deployment, and remote task execution system. Ansible works
|
|
|
4f25327 |
over SSH and does not require any software or daemons to be installed
|
|
|
4f25327 |
on remote nodes. Extension modules can be written in any language and
|
|
|
4f25327 |
are transferred to managed machines automatically.
|
|
|
4f25327 |
|
|
|
4f25327 |
%prep
|
|
|
4f25327 |
%setup -q
|
|
|
4f25327 |
|
|
|
2c0e80e |
%if 0%{?rhel} == 6
|
|
|
2c0e80e |
# Patch to make ansible-vault use a newer pycrypto forward-compat package
|
|
|
2c0e80e |
%patch0 -p1
|
|
|
2c0e80e |
%endif
|
|
|
2c0e80e |
|
|
|
4f25327 |
%build
|
|
|
4f25327 |
%{__python} setup.py build
|
|
|
4f25327 |
|
|
|
4f25327 |
%install
|
|
|
2c0e80e |
%{__python} setup.py install --root=$RPM_BUILD_ROOT
|
|
|
4f25327 |
mkdir -p $RPM_BUILD_ROOT/etc/ansible/
|
|
|
4f25327 |
cp examples/hosts $RPM_BUILD_ROOT/etc/ansible/
|
|
|
ef39e27 |
cp examples/ansible.cfg $RPM_BUILD_ROOT/etc/ansible/
|
|
|
f9dbd15 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
4f25327 |
cp -v docs/man/man1/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
|
|
|
4f25327 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible
|
|
|
6301504 |
cp -va library/* $RPM_BUILD_ROOT/%{_datadir}/ansible/
|
|
|
4f25327 |
|
|
|
4e9234e |
%clean
|
|
|
4e9234e |
rm -rf $RPM_BUILD_ROOT
|
|
|
4e9234e |
|
|
|
4f25327 |
%files
|
|
|
4e9234e |
%defattr(-,root,root)
|
|
|
4f25327 |
%{python_sitelib}/ansible*
|
|
|
4f25327 |
%{_bindir}/ansible*
|
|
|
6301504 |
%{_datadir}/ansible
|
|
|
4f25327 |
%config(noreplace) %{_sysconfdir}/ansible
|
|
|
4f25327 |
%doc README.md PKG-INFO COPYING
|
|
|
4f25327 |
%doc %{_mandir}/man1/ansible*
|
|
|
ef39e27 |
%doc examples/playbooks
|
|
|
4e9234e |
|
|
|
4f25327 |
%changelog
|
|
|
aa844c7 |
* Wed Aug 06 2014 Kevin Fenzi <kevin@scrye.com> 1.7-1
|
|
|
aa844c7 |
- Update to 1.7
|
|
|
aa844c7 |
|
|
|
6cc2f27 |
* Fri Jul 25 2014 Kevin Fenzi <kevin@scrye.com> 1.6.10-1
|
|
|
6cc2f27 |
- Update to 1.6.10
|
|
|
6cc2f27 |
|
|
|
f7a8a74 |
* Thu Jul 24 2014 Kevin Fenzi <kevin@scrye.com> 1.6.9-1
|
|
|
f7a8a74 |
- Update to 1.6.9 with more shell quoting fixes.
|
|
|
f7a8a74 |
|
|
|
5023fc5 |
* Tue Jul 22 2014 Kevin Fenzi <kevin@scrye.com> 1.6.8-1
|
|
|
5023fc5 |
- Update to 1.6.8 with fixes for shell quoting from previous release.
|
|
|
5023fc5 |
- Fixes bugs #1122060 #1122061 #1122062
|
|
|
5023fc5 |
|
|
|
e089d1b |
* Mon Jul 21 2014 Kevin Fenzi <kevin@scrye.com> 1.6.7-1
|
|
|
e089d1b |
- Update to 1.6.7
|
|
|
e089d1b |
- Fixes CVE-2014-4966 and CVE-2014-4967
|
|
|
e089d1b |
|
|
|
1f98aa4 |
* Tue Jul 01 2014 Kevin Fenzi <kevin@scrye.com> 1.6.6-1
|
|
|
1f98aa4 |
- Update to 1.6.6
|
|
|
1f98aa4 |
|
|
|
be36041 |
* Wed Jun 25 2014 Kevin Fenzi <kevin@scrye.com> 1.6.5-1
|
|
|
be36041 |
- Update to 1.6.5
|
|
|
be36041 |
|
|
|
48985db |
* Wed Jun 25 2014 Kevin Fenzi <kevin@scrye.com> 1.6.4-1
|
|
|
48985db |
- Update to 1.6.4
|
|
|
48985db |
|
|
|
6543624 |
* Mon Jun 09 2014 Kevin Fenzi <kevin@scrye.com> 1.6.3-1
|
|
|
6543624 |
- Update to 1.6.3
|
|
|
6543624 |
|
|
|
7e2a193 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
|
|
|
7e2a193 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7e2a193 |
|
|
|
ab647b7 |
* Fri May 23 2014 Kevin Fenzi <kevin@scrye.com> 1.6.2-1
|
|
|
ab647b7 |
- Update to 1.6.2 release
|
|
|
ab647b7 |
|
|
|
f80af22 |
* Wed May 7 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.6.1-1
|
|
|
f80af22 |
- Bugfix 1.6.1 release
|
|
|
f80af22 |
|
|
|
03e3edf |
* Mon May 5 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.6-1
|
|
|
03e3edf |
- Update to 1.6
|
|
|
03e3edf |
- Drop accelerate fix, merged upstream
|
|
|
03e3edf |
- Refresh RHEL6 pycrypto patch. It was half-merged upstream.
|
|
|
03e3edf |
|
|
|
be38730 |
* Fri Apr 18 2014 Kevin Fenzi <kevin@scrye.com> 1.5.5-1
|
|
|
be38730 |
- Update to 1.5.5
|
|
|
be38730 |
|
|
|
9ea6a64 |
* Mon Apr 7 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.4-2
|
|
|
9ea6a64 |
- Fix setuptools requirement to apply to rhel=6, not rhel<6
|
|
|
9ea6a64 |
|
|
|
6e2c5cb |
* Wed Apr 2 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.4-1
|
|
|
6e2c5cb |
- Update to 1.5.4
|
|
|
f8b9292 |
- Add upstream patch to fix accelerator mode
|
|
|
f8b9292 |
- Merge fedora and el6 spec files
|
|
|
19c1aa7 |
|
|
|
8dc5eaa |
* Fri Mar 14 2014 Kevin Fenzi <kevin@scrye.com> 1.5.3-2
|
|
|
8dc5eaa |
- Update to NEW 1.5.3 upstream release.
|
|
|
6e2c5cb |
- Add missing dependency on python-setuptools (el6 build)
|
|
|
8dc5eaa |
|
|
|
585d682 |
* Thu Mar 13 2014 Kevin Fenzi <kevin@scrye.com> 1.5.3-1
|
|
|
585d682 |
- Update to 1.5.3
|
|
|
6e2c5cb |
- Fix ansible-vault for newer python-crypto dependency (el6 build)
|
|
|
585d682 |
|
|
|
1ad558c |
* Tue Mar 11 2014 Kevin Fenzi <kevin@scrye.com> 1.5.2-2
|
|
|
1ad558c |
- Update to redone 1.5.2 release
|
|
|
1ad558c |
|
|
|
cfa0fe3 |
* Tue Mar 11 2014 Kevin Fenzi <kevin@scrye.com> 1.5.2-1
|
|
|
cfa0fe3 |
- Update to 1.5.2
|
|
|
cfa0fe3 |
|
|
|
6193d7a |
* Mon Mar 10 2014 Kevin Fenzi <kevin@scrye.com> 1.5.1-1
|
|
|
6193d7a |
- Update to 1.5.1
|
|
|
6193d7a |
|
|
|
f9dbd15 |
* Fri Feb 28 2014 Kevin Fenzi <kevin@scrye.com> 1.5-1
|
|
|
f9dbd15 |
- Update to 1.5
|
|
|
f9dbd15 |
|
|
|
13553cc |
* Wed Feb 12 2014 Kevin Fenzi <kevin@scrye.com> 1.4.5-1
|
|
|
13553cc |
- Update to 1.4.5
|
|
|
13553cc |
|
|
|
cb37d1d |
* Sat Dec 28 2013 Kevin Fenzi <kevin@scrye.com> 1.4.3-1
|
|
|
cb37d1d |
- Update to 1.4.3 with ansible galaxy commands.
|
|
|
cb37d1d |
- Adds python-httplib2 to requires
|
|
|
cb37d1d |
|
|
|
6a1b38a |
* Wed Nov 27 2013 Kevin Fenzi <kevin@scrye.com> 1.4.1-1
|
|
|
6a1b38a |
- Update to upstream 1.4.1 bugfix release
|
|
|
6a1b38a |
|
|
|
c10ee8c |
* Thu Nov 21 2013 Kevin Fenzi <kevin@scrye.com> 1.4-1
|
|
|
c10ee8c |
- Update to 1.4
|
|
|
c10ee8c |
|
|
|
9e05299 |
* Tue Oct 29 2013 Kevin Fenzi <kevin@scrye.com> 1.3.4-1
|
|
|
9e05299 |
- Update to 1.3.4
|
|
|
9e05299 |
|
|
|
8f16660 |
* Tue Oct 08 2013 Kevin Fenzi <kevin@scrye.com> 1.3.3-1
|
|
|
8f16660 |
- Update to 1.3.3
|
|
|
8f16660 |
|
|
|
efb5883 |
* Thu Sep 19 2013 Kevin Fenzi <kevin@scrye.com> 1.3.2-1
|
|
|
efb5883 |
- Update to 1.3.2 with minor upstream fixes
|
|
|
efb5883 |
|
|
|
467cba4 |
* Mon Sep 16 2013 Kevin Fenzi <kevin@scrye.com> 1.3.1-1
|
|
|
467cba4 |
- Update to 1.3.1
|
|
|
467cba4 |
|
|
|
467cba4 |
* Sat Sep 14 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-2
|
|
|
467cba4 |
- Merge upstream spec changes to support EPEL5
|
|
|
467cba4 |
- (Still needs python26-keyczar and deps added to EPEL)
|
|
|
467cba4 |
|
|
|
1869e0c |
* Thu Sep 12 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-1
|
|
|
1869e0c |
- Update to 1.3.0
|
|
|
1869e0c |
- Drop node-fireball subpackage entirely.
|
|
|
1869e0c |
- Obsolete/provide fireball subpackage.
|
|
|
1869e0c |
- Add Requires python-keyczar on main package for accelerated mode.
|
|
|
1869e0c |
|
|
|
8aaea91 |
* Wed Aug 21 2013 Kevin Fenzi <kevin@scrye.com> 1.2.3-2
|
|
|
8aaea91 |
- Update to 1.2.3
|
|
|
8aaea91 |
- Fixes CVE-2013-4260 and CVE-2013-4259
|
|
|
8aaea91 |
|
|
|
93c711c |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
|
|
|
93c711c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
93c711c |
|
|
|
953ca27 |
* Sat Jul 06 2013 Kevin Fenzi <kevin@scrye.com> 1.2.2-1
|
|
|
953ca27 |
- Update to 1.2.2 with minor fixes
|
|
|
953ca27 |
|
|
|
0fa1d4e |
* Fri Jul 05 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-2
|
|
|
0fa1d4e |
- Update to newer upstream re-release to fix a syntax error
|
|
|
0fa1d4e |
|
|
|
3cc7e56 |
* Thu Jul 04 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-1
|
|
|
3cc7e56 |
- Update to 1.2.1
|
|
|
3cc7e56 |
- Fixes CVE-2013-2233
|
|
|
3cc7e56 |
|
|
|
6301504 |
* Mon Jun 10 2013 Kevin Fenzi <kevin@scrye.com> 1.2-1
|
|
|
6301504 |
- Update to 1.2
|
|
|
6301504 |
|
|
|
c2a8c32 |
* Tue Apr 02 2013 Kevin Fenzi <kevin@scrye.com> 1.1-1
|
|
|
c2a8c32 |
- Update to 1.1
|
|
|
c2a8c32 |
|
|
|
db87ecb |
* Mon Mar 18 2013 Kevin Fenzi <kevin@scrye.com> 1.0-1
|
|
|
db87ecb |
- Update to 1.0
|
|
|
db87ecb |
|
|
|
499398d |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
499398d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
499398d |
|
|
|
c23d872 |
* Fri Nov 30 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.9-0
|
|
|
c23d872 |
- Release 0.9
|
|
|
c23d872 |
|
|
|
7109b73 |
* Fri Oct 19 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.8-0
|
|
|
7109b73 |
- Release of 0.8
|
|
|
1c6284a |
|
|
|
953ca27 |
* Thu Aug 9 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.7-0
|
|
|
ef39e27 |
- Release of 0.7
|
|
|
ef39e27 |
|
|
|
7109b73 |
* Mon Aug 6 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.6-0
|
|
|
4e9234e |
- Release of 0.6
|
|
|
24b3dae |
|
|
|
7109b73 |
* Wed Jul 4 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.5-0
|
|
|
24b3dae |
- Release of 0.5
|
|
|
fc9a76b |
|
|
|
7109b73 |
* Wed May 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.4-0
|
|
|
550a48d |
- Release of 0.4
|
|
|
550a48d |
|
|
|
4f25327 |
* Mon Apr 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.3-1
|
|
|
4f25327 |
- Release of 0.3
|
|
|
4f25327 |
|
|
|
4f25327 |
* Tue Apr 3 2012 John Eckersberg <jeckersb@redhat.com> - 0.0.2-1
|
|
|
4f25327 |
- Release of 0.0.2
|
|
|
4f25327 |
|
|
|
4f25327 |
* Sat Mar 10 2012 <tbielawa@redhat.com> - 0.0.1-1
|
|
|
4f25327 |
- Release of 0.0.1
|