Package Details: ansible-core-git r54176.fa92228b506-1

Git Clone URL: https://aur.archlinux.org/ansible-core-git.git (read-only, click to copy)
Package Base: ansible-core-git
Description: Radically simple IT automation platform
Upstream URL: https://github.com/ansible/ansible
Licenses: GPL3
Conflicts: ansible-core, python-ansible
Provides: ansible-core, python-ansible
Replaces: ansible-core, python-ansible
Submitter: aminvakil
Maintainer: aminvakil
Last Packager: aminvakil
Votes: 26
Popularity: 0.000000
First Submitted: 2020-11-14 17:48 (UTC)
Last Updated: 2024-03-16 10:44 (UTC)

Dependencies (21)

Required by (11)

Sources (1)

Pinned Comments

aminvakil commented on 2021-08-28 15:06 (UTC)

This repository is maintained at https://github.com/aminvakil/aur.

In case anyone had any suggestions about anything, feel free to raise a PR there.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

mbrown commented on 2013-01-03 15:53 (UTC)

@l3u: you're welcome! One last thing: python-simplejson should probably be changed to python2-simplejson in the PKGBUILD dependencies, since that's now the name of the package in the community repo.

l3u commented on 2013-01-03 11:29 (UTC)

Sorry for the delay.... and thanks Mr Brown for the patch.

mbrown commented on 2012-12-18 20:04 (UTC)

@l3u : It's not just the binaries that need to be updated to use the correct python version, but the modules too! I emailed you an updated python-binary patch that fixes this.

l3u commented on 2012-12-18 19:21 (UTC)

@mrbrown : I'm reluctant recursively patching everything. This is pretty dangerous. Furthermore, I don't see any problem here : all the ansible binaries are patched properly. However, I may be missing something. Since there is a patch that should take care of fixing the python3/python2 thing, feel free to change it and I'll be happy to incorporate your changes.

mbrown commented on 2012-12-18 18:39 (UTC)

There are still many instances where the incorrect (python3) binary is used when installing using the latest PKGBUILD. The following patch to the PKGBUILD fixes the install (and thus the bug I mentionned in my previous comment). Maintainer, please update the PKGBUILD! --- PKGBUILD 2012-11-16 03:42:33.000000000 -0500 +++ PKGBUILD.fixed 2012-12-18 13:33:03.070593912 -0500 @@ -6,7 +6,7 @@ arch=('any') url="https://github.com/ansible/ansible" license=('GPL3') -depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja' 'python-simplejson' 'python2-yaml') +depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja' 'python-simplejson') makedepends=('git' 'asciidoc' 'fakeroot') conflicts=('ansible') source=("python-binary.diff") @@ -30,6 +30,13 @@ cd "$srcdir/$_gitname" + + # specify python binary as python2 where appropriate + exclude='(gettingstarted.rst|scripts-2.7)' # regexp of files/dirs to exclude when doing replacements + find -type f | grep -Ev $exclude | xargs sed -i \ + -e 's:env python:env python2:g' \ + -e 's:bin/python:bin/python2:g' + patch -p1 -i $srcdir/python-binary.diff make }

mbrown commented on 2012-12-12 19:28 (UTC)

Using ansible-git 20121212-1, if I create /etc/ansible/hosts and add eg: myhost.net (a host I have SSH access to) as an entry, a simple ping test fails with the following output : $ ansible all -m ping myhost.net | FAILED >> { "failed": true, "msg": " File \"/home/myuser/.ansible/tmp/ansible-1355339318.42-177093152372294/ping\", line 362\r\n\n except Exception, e:\r\n\n ^\r\n\nSyntaxError: invalid syntax\r\n", "parsed": false } Anyone else with this issue ?

l3u commented on 2012-11-16 08:49 (UTC)

@Finkregh: your error comes from ansible using "python" for the python binary, that links to python3 on arch (on mine at least). And ansible requires python2. PKGBUILD updated and patch added to solve this.

<deleted-account> commented on 2012-11-13 15:28 (UTC)

this should also conflict with 'ansible'...

<deleted-account> commented on 2012-11-13 15:27 (UTC)

please replace python-paramiko with python-paramiko2 and python-simplejson with python-simplejson2. Besides does the Makefile run 'python' and not 'python2', so that should be fixed, too... the latter seems to be the problem why i get: ==> GIT checkout done or server timeout Cleaning up distutils stuff rm -rf build rm -rf dist Cleaning up byte compiled python stuff find . -type f -regex ".*\.py[co]$" -delete Cleaning up editor backup files find . -type f \( -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 python setup.py build File "setup.py", line 15 print "DATA FILES=%s" % data_files ^ SyntaxError: invalid syntax make: *** [python] Error 1