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
James Laska 6c3999b898 Make debuild happy by including a date in debian/changelog
The previous commit resolved the debian build problem, but was building
packages with the stable version.  A development version is required in
the changelog to properly build development DEB packages.
10 years ago
..
README.md Building Ansible deb requires setuptools 11 years ago
ansible.dirs Move debian under packaging subdirectory 13 years ago
ansible.install Install example config file under /etc/ansible 12 years ago
changelog Make debuild happy by including a date in debian/changelog 10 years ago
compat Move debian under packaging subdirectory 13 years ago
control Require python-crypto >= 2.6 for debian package builds 10 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 debian packaging 13 years ago

README.md

Ansible Debian Package

To create an Ansible DEB package:

sudo apt-get install python-paramiko python-yaml python-jinja2 python-httplib2 python-setuptools sshpass
sudo apt-get install cdbs debhelper dpkg-dev git-core reprepro python-support fakeroot
git clone git://github.com/ansible/ansible.git
cd ansible
make deb

The debian package file will be placed in the ../ directory. This can then be added to an APT repository or installed with dpkg -i <package-file>.

Note that dpkg -i does not resolve dependencies.

To install the Ansible DEB package and resolve dependencies:

sudo dpkg -i <package-file>
sudo apt-get -fy install