Ansible Playbook for macOS
- Shell 60.9%
- Lua 39.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| files | ||
| img | ||
| tasks | ||
| .gitignore | ||
| k3s.yaml | ||
| macos.yaml | ||
| README.md | ||
| renovate.json | ||
| vars.yaml | ||
| wsl.yaml | ||
ansible
Quick setup script for dotfiles and other essential configuration
macOS
Usage
On a fresh Mac, execute the following:
Ensure the Terminal/iTerm has Full Disk Access else some settings will fail to Apply:
# Install Xcode-CLT
$ xcode-select --install
# Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Ansible
$ brew install ansible
# Run this playbook
$ ansible-playbook macos.yaml
WSL
# Ensure Ubuntu is fully patched.
$ sudo apt update && sudo apt -y upgrade
# Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> $HOME/.bashrc
$ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Install Ansible
$ brew install ansible
# Run this playbook
$ ansible-playbook wsl.yaml
TODO
- Manage Dock Icons once https://github.com/kcrawford/dockutil/pull/131 is merged
