# mac Manages cogitator-02, an Apple Silicon Mac on the tailnet (`mac.yml`, `PLAYBOOK=mac.yml bin/deploy`). - **Homebrew** (tag `homebrew`): taps, formulae and casks listed in `group_vars/mac/main.yml`. Installs what's missing; never upgrades or removes. - **SSH key** (tag `ssh`): your local `~/.ssh/id_ed25519.pub` in phil's `authorized_keys`. Other keys there are left alone. - **Power** (tag `power`): `mac_pmset` in `group_vars/mac/main.yml`: never sleep, power back on after a power cut, wake on network. - **Firewall** (tag `firewall`): macOS's application firewall on, with signed software allowed automatically (SSH, BlueBubbles, AirPlay, Tailscale), no stealth mode and no block-all. Hermes's own Python isn't properly signed, so it's allowed explicitly (its web dashboard listens on port 9119). Any other unsigned program that needs incoming connections must be added the same way, or the firewall silently blocks it. 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.