cogitator-02 is an Apple Silicon Mac on the tailnet running Hermes Agent. It gets a `mac` group and mac.yml, kept apart from site.yml so it never runs with the server's deploys (PLAYBOOK=mac.yml bin/deploy). The mac role starts by recording the Homebrew taps, formulae and casks already installed (present only, never upgrades or removes), so the first run changes nothing. No passwordless sudo on the Mac: Hermes runs as phil and takes commands over Telegram. Ansible's sudo password is vault_cogitator02.become_password and only tasks with become: true use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
639 B
639 B
mac
Manages cogitator-02, an Apple Silicon Mac on the tailnet (mac.yml,
PLAYBOOK=mac.yml bin/deploy).
- Homebrew: taps, formulae and casks listed in
group_vars/mac/main.yml. Installs what's missing; never upgrades or removes.
Ansible logs in as phil. sudo needs phil's password, which is in the vault
as vault_cogitator02.become_password; only tasks with become: true use it.
phil deliberately doesn't get passwordless sudo, because Hermes Agent runs as
phil and takes commands over Telegram.
Not managed here: Hermes Agent (~/.hermes, self-updating git install,
launchd agent ai.hermes.gateway) and Tailscale.