Skip to content

yannack/provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Automates tool deployment in desktop and server environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published