Skip to content

My machine setup automated with Ansible. Installs git, docker, sublime-text, spotify etc.

Notifications You must be signed in to change notification settings

rchacon/machine-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

machine-setup

My machine setup automated with Ansible.

Installation

Download repo:

curl -L https://api.github.com/repos/rchacon/machine-setup/tarball | tar xz

Setup Macbook

Install ansible via homebrew:

/usr/bin/env ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ansible

Run playbook:

cd deployment
ansible-playbook -i local macbook.yml -K -e "github_email=<GITHUB_EMAIL>"

Setup Ubuntu 18.04

Install ansible via pip:

sudo apt-get install python-pip python-setuptools
pip install --user wheel ansible

Run playbook:

cd deployment
ansible-playbook -i local ubuntu.yml -K -e "github_email=<GITHUB_EMAIL>"

Manual Steps

  • Enable infinite scroll in terminator (ubuntu)
  • Install Chrome and Slack (ubuntu)
  • Make bash default shell with chsh -s /bin/bash (macOS)
  • Create ssh keys for github accounts (both)
  • Install the Sublime license (both)

Caveats

The Sublime Install Package Control task (deployment/roles/common/tasks/sublime.yml) will fail the first time because the ~/Library/Application\ Support/Sublime\ Text\ 3/ directory on macOS and ~/.config/sublime-text-3/ on Ubuntu aren't created until the first time you open Sublime Text. So for now, open Sublime and re-run the playbook.

For Ubuntu, your user is added to the docker group but in order for it to take affect you have to logout and log back in.

For macOS, installing virtualbox will fail the first time because of macOS's security settings. After this step fails go into Security settings and enable Oracle then re-run the playbook.

About

My machine setup automated with Ansible. Installs git, docker, sublime-text, spotify etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published