ansible/packaging/debian
2012-04-23 21:11:43 -04:00
..
ansible.dirs
ansible.install
changelog Version bump for 0.3 release 2012-04-23 21:11:43 -04:00
compat
control
copyright
docs
pycompat
README.txt
rules debian packaging 2012-04-23 19:17:01 -04:00

I have added a debian folder for use in building a .deb file for ansible. From the ansible directory you can run the following command to construct a debian package of ansible.

~/ansible$ dpkg-buildpackage -us -uc -rfakeroot

The debian package files will be placed in the ../ directory and can be installed with the following command:
~/$ sudo dpkg -i .deb

Dpkg -i doesn't resolve dependencies, so if the previous command fails because of dependencies, you will need to run the following to install the dependencies (if needed) and then re-run the dpkg -i command to install the package:
$ sudo apt-get -f install

--Henry Graham