Repository navigation
Installing
Rui edited this page Nov 3, 2026
·
1 revision
- macOS (Apple Silicon or Intel)
- Xcode Command Line Tools:
xcode-select --install
In order, on the new machine:
# 1. Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 2. Ansible
brew install ansible
# 3. This repo
git clone https://github.com/user-cube/devops-daily-driver.git
cd devops-daily-driver
# 4. The Galaxy collections
ansible-galaxy collection install -r requirements.yml
# 5. This machine's settings: edit host_vars/localhost.yml (see Configuration)
# 6. Run it
ansible-playbook daily-driver.ymlThen, once the first run has finished (these are tagged never, so a normal run skips them, and they need apps that run installs):
# 7. Log in to Bitwarden once (the dotfiles `bw` wrapper saves the session)
bw --regenerate-session-key
# 8. The per-machine files saved with `local-backup` on another Mac
ansible-playbook daily-driver.yml --tags local-restore -e local_files_machine=Old-Mac
# 9. Raycast's settings from Bitwarden, then the privacy permissions
ansible-playbook daily-driver.yml --tags raycast-import
ansible-playbook daily-driver.yml --tags permissionsFinish with the Manual steps.
The playbook asks once for a sudo password. It is used by casks that ship their own installers (the Logitech ones), to enable Touch ID for sudo, and to read the Bitwarden session for the Raycast import. Press Enter to skip it: those tasks are skipped or fail, everything else proceeds. -K is not needed.
ansible-playbook daily-driver.yml --checkNothing changes. On a machine whose dotfiles clone is behind, the dotfiles copy is skipped in check mode (the clone is only pulled in a real run).
- Day to day, the dotfiles update without Ansible:
dotfiles-sync(see the dotfiles wiki). - Run the playbook again after changing
host_vars, after pulling this repo, or to reinstall something removed by hand. -
scripts/brew-drift.shlists the Homebrew packages installed by hand that the playbook doesn't know about: leftovers to uninstall, or tools to add to a role.