Skip to content

ramontayag/devbox-bootstrapper

Repository files navigation

Ubuntu 19.10 devbox setup

Preparation

Copy hosts.sample to hosts:

cp hosts{.sample,}

Edit the file to point to the IP of the virtual machine. Later, when running the playbooks, we will specify what group to use.

Running Playbooks

All of the playbooks below are run like this:

ansible-playbook <playbook-name>.yml -i hosts

Note: if you're using oslogin with 2FA in Google, there's no way around things but to temporarily disable it on your machine. Set metadata enable-oslogin-2fa on your machine to FALSE. You may delete it after running this.

All

You can run all the playbooks (except Ember at the moment) by using the playbook all.yml.

Setup

This should always be run.

Playbook name: setup

Google Chrome

Playbook name: google-chrome-stable

Installs google-chrome-stable for headless tests

Node

Playbook name: node

Ember

Playbook name: ember

Ruby

Playbook name: ruby. This installs RVM.

Docker

Playbook name: docker

Shutdown if Idle

Playbook name: auto_shutdown

Shuts down the computer if idle for 30 minutes.

Google Cloud SDK

Playbook name: google-cloud-sdk

Install Google Cloud SDK even through Ubuntu already has it. Reason: having a installation not managed by a package manager gives you free stuff, like being able to install kubectl via gcloud components install kubectl and have it work out-of-the-box.

Watchman

Playbook name: watchman

watch files and execute events https://facebook.github.io/watchman/

About

Ubuntu box for development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published