Giter Club home page Giter Club logo

provisioning's Introduction

provisioning

This tool automates the provisioning of machines to have my preferences on them.

How To Install With One Command

This can be run from a stand-alone machine with this simple command:

bash <(wget -qO- https://github.com/yannack/provisioning/raw/master/run.sh)

If you need a shorter URL, and trust my shortening (I do), e.g., if you can't copy/paste and are retyping, this is equivalent:

bash <(wget -qO- http://goo.gl/3cihfh)

N.B.: This will deploy, by default a desktop machine on the local machine. If you wish to install only the server tools, follow the procedure below.

How To Install Manually

This is needed if you want to tweak the configuration. For instance, after cloning, remove the desktop role from the setup.yml to deploy only to a server with no graphical environment.

  1. Install pip
sudo apt-get install -y python-setuptools
sudo easy_install pip
  1. Install Ubuntu packages required for ansible and git cloning
sudo apt-get install -y git  # python-dev

N.B.: python-dev is not strictly required, but it enables speedups in the compilation of markupsafe. Install if you wish, not sure how much faster you will get.

  1. Checkout this repo and cd into the directory
git clone https://github.com/yannack/provisioning ~/.provisioning/
cd ~/.provisioning
  1. Pip install the requirements
sudo -H pip install -r requirements.txt
  1. Customize your installation This is where you might want to remove the desktop role of the current machine. Or you may want to provision multiple machines: edit HOSTS and setup.yml.

  2. Provision your local machine

ansible-playbook setup.yml -i HOSTS --ask-sudo-pass --module-path ./ansible_modules

Credits

This was largely inspired by, and re-uses the gconftool-2 and dconf modules for ansible of, Joseph Kahn's similar project

provisioning's People

Contributors

yannack avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.