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.

Notifications You must be signed in to change notification settings

imendi/provisioning-local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready Provisioning My PC

A simple ansible script to set up my machine just the way I like it.

How To Install With One Command

wget -qO- https://github.com/JBKahn/provisioning-local/raw/master/run.sh | sudo 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
username username of user you wish to provision for
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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 83.1%
  • Shell 16.9%