This is my personal Ansible configuration for setting up a DevOps Mac setup from scratch.
I created a simple shell script in scripts/prepare.sh
which will perform the initial steps of automating. This also installs pre-requisites like Ansible.
Once pre-requisites are complete - you may install using scripts/apply.sh
. This runs ansible-playbook -i "localhost," -c local ansible_mac.yml --ask-become-pass
in the background installing all the tools with Ansible.
- Main tools are located in
ansible_mac.yml
Tools to be installed:
- Zsh + Oh My Zsh as the primary shell
- Homebrew + all my default CLI tools (like kubectl, go CLI, awscli, azure CLI, trivy, terraform etc)
- Docker & Rancher Desktop
- VSCode + default plugins and configuration
- Asdf for version management: Golang, JS, Python
Everything can be customised by editing ansible_mac.yml