You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/packaging/debian
Michael DeHaan b70ed206c6 Add debian build notes... makefile target pending, some changes to instructions possibly
needed due to moving into packaging/debian?
13 years ago
..
README.txt Add debian build notes... makefile target pending, some changes to instructions possibly 13 years ago
ansible.dirs Move debian under packaging subdirectory 13 years ago
ansible.install Move debian under packaging subdirectory 13 years ago
changelog Move debian under packaging subdirectory 13 years ago
compat Move debian under packaging subdirectory 13 years ago
control Move debian under packaging subdirectory 13 years ago
copyright Move debian under packaging subdirectory 13 years ago
docs Move debian under packaging subdirectory 13 years ago
pycompat Move debian under packaging subdirectory 13 years ago
rules Move debian under packaging subdirectory 13 years ago

README.txt

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