This repository contains the setup code for deploying my workspace environment on macOS.
./setup_mac.sh
The setup script performs the following actions;
- Installs Homebrew if it is not already installed.
- Installs Python 3 from Homebrew if it is not already installed.
- Installs Ansible from Homebrew if it is not already installed.
- Execute the playbook
macbook.yml
.
The playbook then performs the following:
- Installs the required Homebrew Taps.
- Updates Homebrew.
- Installs the set Brew formulae.
- Installs the set Brew Casks.
- Installs set App Store packages using mas.
- Creates folder for Dotfile storage.
- Clones Dotfiles ready for linking.
- Configuration management for macOS applications; can be somewhat complicated to implement, so likely only for a small set of core applications.
- Manage system updates; traditionally I've used a simple shell script for this.
- Upgrade homebrew_cask to use collections-based version; currently, several casks fail when using community.general.homebrew_cask as their names are no longer recognised due to being hyphenated.
- Automatically run the linking script for my Dotfiles.