An ansible-playbook to provision shotarok's macOS.
# Install command line tools
$ sudo xcodebuild -license
$ xcode-select --install
# Install homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew update
# Install ansible
$ brew install ansible
$ git clone [email protected]:shotarok/macos-provisioning.git .macos-provisioning
$ cd .macos-provisioning
$ ansible-galaxy collection install -r requirements.galaxy.yml
$ ansible-playbook -i hosts -vv localhost.yml
# Show a list of tags
$ ansible-playbook -i hosts localhost.yml --list-tasks
# Run the tasks with the 'cask' tag
$ ansible-playbook -i hosts -vv localhost.yml --tags cask