Skip to content

A repo to hold the setup process for a new machine so that I don't have to remember all this stuff.

License

Notifications You must be signed in to change notification settings

JBKahn/provisioning-local

Repository files navigation

Stories in Ready Provisioning My PC

A simple ansible script to set up my machine just the way I like it (currently base on Ubuntu 14.04).

How To Install With One Command

wget -qO- https://github.com/JBKahn/provisioning-local/raw/master/run.sh | bash

How To Install The Old Fashioned Way

  1. Install pip
sudo apt-get install python-setuptools
sudo easy_install pip
  1. Install Ubuntu packages
sudo apt-get install aptitude
sudo apt-get install git
sudo apt-get install python-dev libxml2-dev libxslt-dev
  1. Setup Git
  1. Checkout this repo and cd into the directory
git clone https://github.com/JBKahn/provisioning-local.git <dir>
cd <dir>
  1. Pip install the requirements
sudo pip install -r requirements.txt
  1. Fill in the variables in the variables file
variable Description
sager_laptop boolean to fix keyboard colors and backlight on ubuntu for sager laptops
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
  1. Provision your local machine
ansible-playbook setup.yml -i HOSTS --ask-sudo-pass --module-path ./ansible_modules --extra-vars "@config.json"

Possible Issues

  1. /usr/bin/ohai does not exist (Haven't hit since early development)

The fix was to remove old version of ruby, use rvm and then gem install ohai

http://stackoverflow.com/questions/4464985/rails-3-ruby-1-9-2-does-it-need-usr-bin-ruby1-8 https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm https://wiki.opscode.com/display/chef/Ohai+Installation+and+Use

About

A repo to hold the setup process for a new machine so that I don't have to remember all this stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published