A simple ansible script to set up my local Ubuntu machine.
wget -qO- https://github.com/TheodorosPloumis/ubuntu-provision/raw/master/run.sh | sudo bash
- Install pip
sudo apt-get install python-setuptools
sudo easy_install pip
- Install Ubuntu packages
sudo apt-get install aptitude
sudo apt-get install git
sudo apt-get install curl
sudo apt-get install python-dev libxml2-dev libxslt-dev
- Setup Git
- Checkout this repo and cd into the directory
git clone https://github.com/TheodorosPloumis/ubuntu-provision.git <dir>
cd <dir>
- Pip install the requirements
sudo pip install -r requirements.txt
- Fill in the variables in the variables file
variable | Description |
---|---|
username | username of user you wish to provision for |
phpstorm_url | URL to PHPStorm package |
vagrant_url | URL to vagrant .deb file you wish to install |
virtualbox_url | URL to virtual_box .deb file you wish to install |
github_username | github username |
- Provision your local machine
ansible-playbook setup.yml -i HOSTS --ask-sudo-pass