This repository contain an automated procedure to jump-start installation and configuration of Mac OS. The procedure assume Ansible is going to be used to keep configuration in sync.
This procedure was tested on Mac OS Apple Silicon M2:
# sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Apple M2 Pro
-
Make sure you have installed
homebrew
on your Mac. Detailed instructions to be found here 2. Install required tools viabrew install ansible direnv
-
Install ZSH framework (in case zsh shell is used):
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Make sure your Git
user
andemail
are set.git config --global user.name FirstName LastName git config --global user.email email
On new computer you can also set this one up:
git config --global push.autoSetupRemote true git config --global branch.autoSetupRebase always
To install:
- Microsoft Teams
-
Get a list of Ansible installed collections
ansible-galaxy collection list
To set a default driver with docker
:
minikube config set driver docker
To add a local Docker registry:
minikube addons enable registry
Restart Docker:
sudo killall Docker && open /Applications/Docker.app
- Minikube documentation
- Ansible requirements.txt needed with list of collections in order to work properly with Ansible linter running on Github Actions runner, see ansible-lint-action Issue-99
- 5 Ways to Manage Environment Variables with direnv
- Custom status badges
- Getting started with Flux v2
- SonarCloud docs
- tfswitch command line tool lets you switch between different versions of terraform