Hi Guys,
Quite for few times we have been using ansible 1.9.4 as CM and deployment tool( ansible-pull ) for our production systems ( Ubuntu 14.04 64bit devices) which are scattered around the world . Everything was working well until the ppa-repo for Ubuntu got updated with the latest version to 2.0.0 making 1.9.4 unavailable via apt-get method .
The installation using pip for 1.9.4 was not a good choice for us as the default installation directories for both the system is changed (apt method uses /usr/bin while pip uses /usr/local/bin and now some of . I really want ansible to reside on /usr/bin path rather then /usr/local/bin .
The last method I wanted to try is to build a deb package from source and install via it .This is the first time I am building a debian package from source and followed instructions from ansible docs . Checked out in stable-1.9 branch and ran make deb
.
However seems I got few errors while building from both the ansible-1.9.4 tar ball from http://releases.ansible.com/ansible/ and from the GitHub source code . I have tried compiling deb package on Ubuntu 14.04, 64 bit with gcc g++ 4.9.3 running on it .Kernel version - 3.19.0-37-generic
-
From tar ball - (Complete log at - http://pastebin.com/fXuKiHU3)
-
cp: cannot stat ‘packaging/debian’: No such file or directory
-
sed: can’t read deb-build/unstable/ansible-1.9.4/debian/changelog: No such file or directory
-
From github source and checkout to stable-1.9 (Complete log - http://pastebin.com/T40EZqyy)
-
build/lib.linux-x86_64-2.7’ does not exist – can’t clean it
-
dpkg-deb: building package
ansible' in
…/ansible_1.9.4-0.git201601201800~unstable_all.deb’.
The second method built the deb package but built in unstable . I am pretty sure that it means the package is unstable . I did not got what did I missed . Is there a place from where I can get the pre built deb packages for these versions . Help appreciated .