Skip to content

Instantly share code, notes, and snippets.

@hanovruslan
Last active April 17, 2020 22:37
Show Gist options
  • Save hanovruslan/86434f73c8672f069b38 to your computer and use it in GitHub Desktop.
Save hanovruslan/86434f73c8672f069b38 to your computer and use it in GitHub Desktop.
Create ansible deb package from source and install it
apt-get install libxml2-utils sshpass devscripts python-yaml python-paramiko python-jinja2 cdbs debhelper dpkg-dev git-core reprepro asciidoc
git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
git checkout [branch-with-desired-version] # stable-1.9 etc.
git pull --rebase
git submodule update --init --recursive
make && make deb
dpkg -i deb-build/[some-path]/ansible[some-build-details].deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment