Last active
April 17, 2020 22:37
-
-
Save hanovruslan/86434f73c8672f069b38 to your computer and use it in GitHub Desktop.
Create ansible deb package from source and install it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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