Ansible Playbook for macOS
This repository has been archived on 2026-09-02. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Shell 60.9%
  • Lua 39.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-06 10:53:25 +01:00
files Setup 'pbcopy' for WSL2 2024-09-25 15:24:54 +01:00
img Initial Commit 2023-10-03 23:56:52 +01:00
tasks Package updates 2024-10-06 10:53:25 +01:00
.gitignore Package updates 2024-10-06 10:53:25 +01:00
k3s.yaml Package updates 2024-10-06 10:53:25 +01:00
macos.yaml Add basic support for WSL 2024-08-06 14:21:07 +01:00
README.md Add basic support for WSL 2024-08-06 14:21:07 +01:00
renovate.json Add renovate.json 2024-08-06 17:40:41 +01:00
vars.yaml Add Atuin 2024-08-21 14:41:20 +01:00
wsl.yaml Add basic support for WSL 2024-08-06 14:21:07 +01:00

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:

Full Disk Access

# 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