Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JBKahn/provisioning-local
A repo to hold the setup process for a new machine so that I don't have to remember all this stuff.
https://github.com/JBKahn/provisioning-local
Last synced: 7 days ago
JSON representation
A repo to hold the setup process for a new machine so that I don't have to remember all this stuff.
- Host: GitHub
- URL: https://github.com/JBKahn/provisioning-local
- Owner: JBKahn
- License: mit
- Created: 2014-07-01T06:37:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T03:35:57.000Z (over 8 years ago)
- Last Synced: 2024-08-02T16:49:31.973Z (3 months ago)
- Language: VimL
- Size: 2.72 MB
- Stars: 38
- Watchers: 3
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Stories in Ready](https://badge.waffle.io/JBKahn/provisioning-local.png?label=ready&title=Ready)](https://waffle.io/JBKahn/provisioning-local)
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
-------------------------------```bash
wget -qO- https://github.com/JBKahn/provisioning-local/raw/master/run.sh | bash
```How To Install The Old Fashioned Way
------------------------------------1. Install pip
```bash
sudo apt-get install python-setuptools
sudo easy_install pip
```2. Install Ubuntu packages
```bash
sudo apt-get install aptitude
sudo apt-get install git
sudo apt-get install python-dev libxml2-dev libxslt-dev
```
3. Setup Git
* [setup git](https://help.github.com/articles/set-up-git)
* [setup ssh keys](https://help.github.com/articles/generating-ssh-keys)
4. Checkout this repo and cd into the directory
```bash
git clone https://github.com/JBKahn/provisioning-local.git
cd
```5. Pip install the requirements
```bash
sudo pip install -r requirements.txt
```6. Fill in the variables in the [variables file ](./config.json)
| 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 |
7. Provision your local machine```bash
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