Package Details: ansible-git 2.5.0.32862.2cdf31d3a2-1

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

Dependencies (16)

Required by (4)

Sources (1)

Latest Comments

wknapik commented on 2017-11-15 12:24

@brenix: this is a -git package, so you're checking out the git repo anyway, so it shouldn't be a problem to source hacking/env-setup, right ? Why not do that ? Or do whatever env-setup does to generate the version ?

brenix commented on 2017-11-10 19:21

@wknapik: The version being reported through the ansible cli looks at the git repository information to display that version. Since packages built with makepkg typically don't (and shouldn't) include the .git directory, this is why it can't determine the git branch/details and falls back to the major version. If this is still desired, then I would recommend using a local checkout and sourcing the hacking/env-setup file. We can look into updating the pkgver function, but that still wont affect the output of `ansible --version`

wknapik commented on 2017-11-09 11:24

Hi. `ansible --version|head -n1' always returns "ansible 2.5.0", regardless of which revision you're on. I hear regular/manual builds off devel return something like "ansible 2.5.0 (devel 843fba509f) last updated 2017/11/02 12:11:53 (GMT +100)". This is a problem, especially when reporting issues in ansible, where they ask you to paste the output of `ansible --version' and it doesn't actually say what version you're using.

mikky commented on 2017-09-12 21:15

allright, the generate_man.py 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/generate_man.py


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/generate_man.py --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/generate_man.py", line 253, in <module>
allvars[cli_name] = opts_docs(cli_class_name, cli_name)
File "docs/bin/generate_man.py", line 119, in opts_docs
'long_desc': trim_docstring(cli.__doc__),
File "docs/bin/generate_man.py", 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

Hello,
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
rm -f AUTHORS.TXT
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 http://sphinx-doc.org/. 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 (https://www.archlinux.org/packages/community/any/python-sphinx/) to build the documentation.

All comments