Package Details: ansible-git

Git Clone URL: (read-only)
Package Base: ansible-git
Description: Radically simple IT automation platform
Upstream URL:
Licenses: GPL3
Conflicts: ansible
Provides: ansible
Submitter: l3u
Maintainer: brenix (Thermi)
Last Packager: brenix
Votes: 22
Popularity: 0.002163
First Submitted: 2012-04-19 14:00
Last Updated: 2017-09-13 03:26

Dependencies (16)

Required by (4)

Sources (1)

Latest Comments

mikky commented on 2017-09-12 21:15

allright, the is not compatible with latest Python 3 due to absense of sys.maxint. One must force Python2.

Simply add this line to your PKGBUILD before 'make docs'

sed -i 's,^#!/usr/bin/env python$,\02,' docs/bin/

mikky commented on 2017-09-11 16:18

Latest checkout won't build. Perhaps a missing dependency?

changing mode of build/scripts-2.7/ansible-connection from 644 to 755
changing mode of build/scripts-2.7/ansible-vault from 644 to 755
mkdir -p ./docs/man/man1/ ; \
PYTHONPATH=./lib docs/bin/ --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py
[DEPRECATED] [defaults]hostfile: The key is misleading as it can also be a list of hosts, a directory or a list of paths. It will be removed in 2.8. As alternative use one of [inventory]
Traceback (most recent call last):
File "docs/bin/", line 253, in <module>
allvars[cli_name] = opts_docs(cli_class_name, cli_name)
File "docs/bin/", line 119, in opts_docs
'long_desc': trim_docstring(cli.__doc__),
File "docs/bin/", line 34, in trim_docstring
indent = sys.maxint
AttributeError: module 'sys' has no attribute 'maxint'
make: *** [Makefile:347: generate_asciidoc] Error 1

mrshannon commented on 2017-03-30 21:05

You need plain python-yaml (python 3.x) as a build dependency, otherwise it won't find the yaml module during build.

brenix commented on 2017-02-10 08:06

Sorry guys, my mind slipped and I thought I had already added that. I've updated it to include python-sphinx as a build dependency. Thanks!

dummys commented on 2017-02-10 07:55

@derektbrown was correct, you need python-sphinx in order to install the package.

dummys commented on 2017-02-10 07:52

Still bugged:

==> Starting build()...
Cleaning up distutils stuff
rm -rf build
rm -rf dist
rm -rf lib/ansible.egg-info/
Cleaning up byte compiled python stuff
find . -type f -regex ".*\.py[co]$" -delete
Cleaning up editor backup files
find . -type f -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete
Cleaning up manpage stuff
find ./docs/man -type f -name "*.xml" -delete
find ./docs/man -type f -name "*.asciidoc" -delete
find ./docs/man/man3 -type f -name "*.3" -delete
Cleaning up output from test runs
rm -rf test/test_data
Cleaning up RPM building stuff
rm -rf MANIFEST rpm-build
Cleaning up Debian building stuff
rm -rf debian
rm -rf deb-build
rm -rf docs/json
rm -rf docs/js
Cleaning up authors file
find . -type f -name '*.pyc' -delete
rm -f /test/units/.coverage*
Cleaning up docsite
make -C docs/docsite clean
make[1]: Entering directory '/home/mofo/build/cower/ansible-git/src/ansible-git/docs/docsite'
rm -rf htmlout
rm -rf _build
rm -f .buildinfo
rm -f *.inv
rm -rf *.doctrees
Cleaning up minified css files
find . -type f -name "*.min.css" -delete
Cleaning up byte compiled python stuff
find . -regex ".*\.py[co]$" -delete
Cleaning up editor backup files
find . -type f \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete
Cleaning up generated rst
rm rst/list_of_*.rst
rm: cannot remove 'rst/list_of_*.rst': No such file or directory
make[1]: [Makefile:35: clean] Error 1 (ignored)
rm rst/*_by_category.rst
rm: cannot remove 'rst/*_by_category.rst': No such file or directory
make[1]: [Makefile:36: clean] Error 1 (ignored)
rm rst/*_module.rst
rm: cannot remove 'rst/*_module.rst': No such file or directory
make[1]: [Makefile:37: clean] Error 1 (ignored)
rm rst/playbooks_directives.rst
rm: cannot remove 'rst/playbooks_directives.rst': No such file or directory
make[1]: [Makefile:38: clean] Error 1 (ignored)
make[1]: Leaving directory '/home/mofo/build/cower/ansible-git/src/ansible-git/docs/docsite'
make -C docs/api clean
make[1]: Entering directory '/home/mofo/build/cower/ansible-git/src/ansible-git/docs/api'
Makefile:22: *** The 'sphinx-build' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the 'sphinx-build' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from Stop.
make[1]: Leaving directory '/home/mofo/build/cower/ansible-git/src/ansible-git/docs/api'
make: *** [Makefile:177: clean] Error 2
==> ERROR: A failure occurred in build().

derektbrown commented on 2017-01-17 17:37

I believe Ansible also requires sphinx ( to build the documentation.

brenix commented on 2016-10-05 02:26

@Thermi: Thanks for correcting and fixing the PKGBUILD (it needed it!). I'll add you as a co-maintainer as I haven't had much time to maintain it recently.

Thermi commented on 2016-10-04 23:17

The PKGBUILD is full of bugs. I corrected the mistakes I found and uploaded an improved version here:

Please use this one.

lae commented on 2016-05-13 00:13

@brenix - now package versioning is inaccurate.

The better way to have solved the issue is to replace "cat VERSION" with "cut -d' ' -f1 VERSION" in pkgver()

All comments