tell-k / blister-pack

Ansible playbooks template for OS X.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blister-pack

travis

This project is an experiment to provisioning an environment of Mac OS X using the Ansible. This repository template is just a basic example of how to do things with them.

Caution

  • This project is very experimental, Please consider carefully use.
  • I have check the operation only OSX Yosemite(v10.10).

Bootstrapping

Create a new git repository somewhere on the internet. It can be private or public -- it really doesn't matter. If you're making a repository on GitHub, you may not want to fork this repo to get started. The reason for that is that you can't really make private forks of public repositories easily. Once you've done that, you can run the following to bootstrap your blister-pack:

$ sudo mkdir -p /opt/blister-pack
$ sudo chown ${USER}:staff /opt/blister-pack
$ git clone https://github.com/tell-k/blister-pack /opt/blister-pack/repo/
$ cd /opt/blister-pack/repo/
$ git remote rm origin
$ git remote add origin <the location of my new git repository>
$ git push -u origin master

Preparation

$ sudo xcodebuild -license
$ xcode-select --install
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor
$ brew update
$ brew install python
$ brew install ansible

Provisioning

$ git clone <the location of my new git repository>
$ cd <the location of my new git repository>
$ make playbook

# When asked the sudo password, please enter your password.

Testing

$ make test

# Running test by serverspec

What You Get

This template project provides the following by default:

  • Homebrew
  • Homebrew-Cask
  • Git
  • Nginx
  • Hub
  • dnsmasq w/ .dev resolver for localhost
  • rbenv
  • ruby-build
  • ruby-gem-rehash
  • ruby-default-gems
  • nodebrew
  • Node.js 4.2.3
  • Node.js 5.2.0
  • io.js 2.5.0
  • io.js 3.3.1
  • Ruby 1.9.3
  • Ruby 2.1.3
  • rake
  • serverspec
  • Python 2.7
  • Python 3.4
  • pip
  • virtualenv
  • virtualenvwrapper
  • Mercurial
  • ack
  • Findutils
  • GNU tar
  • autoconf
  • readline
  • openssl
  • sqlite3
  • gdbm

TODO

  • Full Disk Encryption requirement

Customize and Settings

TODO

License

MIT license

About

Ansible playbooks template for OS X.


Languages

Language:Ruby 75.8%Language:Python 10.6%Language:Nginx 6.9%Language:Makefile 6.6%