Skip to content

💻 My personal workspace configured through code

License

Notifications You must be signed in to change notification settings

mraerino/workspace-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mraerino's Workspace Config

This is an Ansible-based repository enabling me to setup my workspace machines from code.

Usecases

  • Keep environments consistent across machines
  • Reinstall OS without needing a config backup
  • Track workspace config changes

Usage

Preparations (macOS)

Run this on a blank macOS install to get up and running

xcode-select --install # Install macOS CLI utils
sudo pip install ansible # Install Ansible
git clone https://github.com/mraerino/workspace-config
cd workspace-config

Execute playbook

First, create an inventory file with your machines. Then run this:

ansible-galaxy install -r requirements.yml # Install role dependencies
ansible-playbook -i inventory site.yml

Inventory

The playbook uses different host groups when applying roles:

  • cli for setting up unix cli envrionments (tested on macOS and Ubuntu)
  • macos for configuring macOS-based systems
  • linux for configuring Linux-based systems

Respectively there is a playbook for each of the groups.

License

MIT License

Feel free to adapt bits and pieces into your config.