Created
July 3, 2017 08:08
-
-
Save MCardus/e9b4cc28e8d6fb66e350c528fa0218aa to your computer and use it in GitHub Desktop.
Ubuntu base provisioning. It installs base packets, python pip, ansible and git
This file contains 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
# Ubuntu base provisioning | |
# It installs base packets, python pip, ansible and git | |
# Upgrade system | |
sudo apt-get update && sudo apt-get -y upgrade | |
# Install essential packages | |
sudo apt-get install -y build-essential python git libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev | |
# Install python pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
sudo python get-pip.py | |
rm -fr get-pip.py | |
# Ansible installation | |
sudo pip install ansible | |
# Git installation | |
sudo apt-get install git | |
# Export locale | |
export LC_ALL=C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment