An Ansible playbook to initialise, configure, and update my ideal MacOS dev environment.
$ sudo pip3 install ansible
$ ansible-playbook playbook.yml --ask-become-pass
This playbook has the following tasks, which can all be run in isolation by adding --tag="<tag>" to the command above:
brew- Installs/updates Homebrew, installs brew packages and applications via casks. The package list can be found and modified inroles/setup/vars/main.ymlzsh- Bundles ZSH plugins using Antibody, symlinks dotfiles, adds completions, and changes shell to ZSH. Plugins can be found and modified inroles/setup/files/zsh_plugins.txtvim- Installs Vim plugins using the native Vim plugin manager and symlinks .vimrc. Plugins can be found and modified within the plugin install script inroles/setup/files/vim_plugin_man.shmisc- Symlinks config for iTerm2, Karabiner Elements and gitignoreosx- Sets various MacOS defaults