Accepting request 171263 from home:lrupp
better changelog entry. An easy way for managaging multiple servers via SSH.... OBS-URL: https://build.opensuse.org/request/show/171263 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=1
This commit is contained in:
commit
d2f8e5d083
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
ansible-1.1.tar.bz2
Normal file
3
ansible-1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ab1c66d423f05c3c3f30bf2895f08b4cf059c4d222a587e14c175992814cf09
|
||||
size 241531
|
39
ansible.changes
Normal file
39
ansible.changes
Normal file
@ -0,0 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 17 11:04:04 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- update to 1.1:
|
||||
+ stderr shown when commands fail to parse
|
||||
+ uses yaml.safe_dump in filter plugins
|
||||
+ authentication Q&A no longer happens before --syntax-check, but after
|
||||
+ ability to get hostvars data for nodes not in the setup cache yet
|
||||
+ SSH timeout now correctly passed to native SSH connection plugin
|
||||
+ raise an error when multiple when_ statements are provided
|
||||
+ --list-hosts applies host limit selections better
|
||||
+ (internals) template engine specifications to use template_ds everywhere
|
||||
+ better error message when your host file can not be found
|
||||
+ end of line comments now work in the inventory file
|
||||
+ directory destinations now work better with remote md5 code
|
||||
+ lookup plugin macros like $FILE and $ENV now work without
|
||||
returning arrays in variable definitions/playbooks
|
||||
+ uses yaml.safe_load everywhere
|
||||
+ able to add EXAMPLES to documentation via EXAMPLES docstring,
|
||||
rather than just in main documentation YAML
|
||||
+ can set ANSIBLE_COW_SELECTION to pick other cowsay types (including random)
|
||||
+ to_nice_yaml and to_nice_json available as Jinja2 filters that indent and sort
|
||||
+ cowsay able to run out of macports (very important!)
|
||||
+ improved logging for fireball mode
|
||||
+ nicer error message when talking to an older system that needs a
|
||||
JSON module installed
|
||||
+ 'magic' variable 'inventory_basedir' now gives path to inventory file
|
||||
+ 'magic' variable 'vars' works like 'hostvars' but gives global scope
|
||||
variables, useful for debugging in templates mostly
|
||||
+ conditionals can be used on plugins like add_host
|
||||
+ ...and many more...
|
||||
- specfile cleanup
|
||||
- just recomend python-paramiko as the user can also use openssh
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 13:47:16 UTC 2013 - julien.tognazzi@gmail.com
|
||||
|
||||
- Merge changes from upstream
|
||||
|
112
ansible.spec
Normal file
112
ansible.spec
Normal file
@ -0,0 +1,112 @@
|
||||
#
|
||||
# spec file for package ansible
|
||||
#
|
||||
# Copyright 2013 by Lars Vogdt
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
|
||||
|
||||
Name: ansible
|
||||
Version: 1.1
|
||||
Release: 1
|
||||
Summary: SSH-based configuration management, deployment, and task execution system
|
||||
License: GPLv3+
|
||||
Url: http://ansible.github.com
|
||||
Group: System/Management
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} > 01020
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-PyYAML
|
||||
Requires: python-jinja2
|
||||
Recommends: python-paramiko
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Ansible is a radically simple model-driven configuration management,
|
||||
multi-node deployment, and remote task execution system. Ansible works
|
||||
over SSH and does not require any software or daemons to be installed
|
||||
on remote nodes. Extension modules can be written in any language and
|
||||
are transferred to managed machines automatically.
|
||||
|
||||
%package fireball
|
||||
Summary: Ansible fireball transport support
|
||||
Group: System/Management
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python-keyczar
|
||||
Requires: python-pyzmq
|
||||
|
||||
%description fireball
|
||||
Ansible can optionally use a 0MQ based transport mechanism, which is
|
||||
considerably faster than the standard ssh mechanism when there are
|
||||
multiple actions, but requires additional supporting packages.
|
||||
|
||||
%package node-fireball
|
||||
Summary: Ansible fireball transport - node end support
|
||||
Group: System/Management
|
||||
Requires: python-keyczar
|
||||
Requires: python-pyzmq
|
||||
|
||||
%description node-fireball
|
||||
Ansible can optionally use a 0MQ based transport mechanism, which has
|
||||
additional requirements for nodes to use. This package includes those
|
||||
requirements.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ansible/
|
||||
cp examples/hosts %{buildroot}%{_sysconfdir}/ansible/
|
||||
cp examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/
|
||||
mkdir -p %{buildroot}%{_mandir}/{man1,man3}/
|
||||
cp -v docs/man/man1/*.1 %{buildroot}%{_mandir}/man1/
|
||||
cp -v docs/man/man3/*.3 %{buildroot}%{_mandir}/man3/
|
||||
mkdir -p %{buildroot}%{_datadir}/ansible
|
||||
cp -v library/* %{buildroot}%{_datadir}/ansible/
|
||||
%if 0%{?suse_version} > 01020
|
||||
%fdupes %{buildroot}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md PKG-INFO COPYING
|
||||
%doc examples/playbooks
|
||||
%doc %{_mandir}/man1/ansible*
|
||||
%doc %{_mandir}/man3/ansible*
|
||||
%dir %{_datadir}/ansible
|
||||
%{python_sitelib}/ansible*
|
||||
%{_bindir}/ansible*
|
||||
%attr(0755,root,root) %{_datadir}/ansible/*
|
||||
%exclude %{_datadir}/ansible/fireball
|
||||
%config(noreplace) %{_sysconfdir}/ansible
|
||||
%exclude %{_mandir}/man3/ansible.fireball.*
|
||||
|
||||
%files fireball
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %{_datadir}/ansible/fireball
|
||||
%doc %{_mandir}/man3/ansible.fireball.*
|
||||
|
||||
%files node-fireball
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md PKG-INFO COPYING
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user