re: https://github.com/ansible/ansible/blob/devel/packaging/debian/
Does anyone use this?
Are things ok?
I hear mixed reports from people saying it “doesn’t work”, but don’t really have any feedback about why or what, nor offers to fix it.
As a result, I’m not sure if I should trust those reports or not.
If I don’t hear from anyone I’m going to assume it’s broken and delete references to it.
Would much rather see someone step up and take ownership, and look after it as Ansible changes (which should not ever be that significant in terms of code structure)
Ownership should ideally include trying to get Ansible included properly in a distribution, like we have Ansible in Fedora and EPEL.
–Michael
I use it and it works fine.
If it doesn’t work, folks are probably following the wrong set of instructions (there are 2, and one doesn’t work). The method that does work is as simple as this:
sudo apt-get install cdbs debhelper dpkg-dev git-core reprepro
git clone git://github.com/ansible/ansible.git
cd ansible
make deb
This produces a nice DEB file in … which you can add to an APT repo, or install with dpkg -i.
I can take on ownership.
Not sure about getting into Debian though… they generally move pretty slowly (Ubuntu is better, but still only every 6 months). If we are happy enough with 0.6 being around for a few years in Debian, I can see what is involved.
Peter
I use it too.
But we should add "python-apt" as a dependency for ansible. This is
missing. I also can help maintain the package for debian.
Chris
Hi Peter,
How about placing it on Ubuntu PPA?
Hmm.. I can test this also.
Rodney
Awesome.
Yeah, I'm a bit uncomfortable with not being able to hot fix a release (I was under the impression we could do experimental), but a PPA sounds outstanding for starters.
Just keeping the makefile and instructions up to date would be great.
Where is the wrong copy? Feel free to patch the rst/ files and send me a pull request to the docs project.
+1 on the dependency, since you're pretty much going to want that every time.
Apparently I followed the wrong instructions … thanks for pointing out the correct dependencies!
smoyer
Can someone point me to the wrong instructions such that I can smite them?
Hi,
Ansible release 0.5 Ubuntu PPA, at https://launchpad.net/~rquillo/+archive/ansible
Might help others who are using Ubuntu distro.
Testing on AWS Ubuntu precise:
$ sudo add-apt-repository ppa:rquillo/ansible
$ sudo apt-get update
$ echo localhost > myhosts
$ export ANSIBLE_HOSTS=$(pwd)/myhosts
$ ansible all -m ping -u ubuntu
Will try to add 0.6 once released.
Rodney
This might be a difference between Ubuntu and Debian, but on Ubuntu I found that I needed to install the “python
-software-properties” package for the “apt” module to work: installing “python-apt” didn’t do the trick for me.
Lorin
Please open up doc tickets if you guys find something somewhere that
seems incorrect.
It would strongly make sense that the packages on these platforms
*require* those packages since there is a super large chance you would
be using those modules.
We would also want to make sure it warns appropraitely about the right
packages on the right plaform.
I seem to recall python-apt on Ubuntu being sufficient for me.
Oh, I remember now, it was apt_repository that required it, I’ll post a ticket.