Add cogitator-02 (Mac) with its own playbook

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>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 06:12:07 -07:00
1 parent f6aeca3774
commit f53992d652
7 files changed
+74 -1

No files matched your search

+9
View File
@@ -17,6 +17,13 @@ lists it twice, under two names:
All public DNS records point at the public IP. Caddy on the same machine
takes ports 80/443 and passes each subdomain to the right container.
### The Mac
`cogitator-02` (group `mac`, reached at `cogitator-02.porgy-porgy.ts.net` over
Tailscale) is an Apple Silicon Mac that runs Hermes Agent. It has its own
playbook, `mac.yml`, so it never runs with the server's deploys. See
`roles/mac/README.md`.
## Services
| Category | Service | Address | Login |
@@ -58,6 +65,7 @@ the Listmonk signup form.
```
├── site.yml # Main playbook: common, docker and cron roles
├── mac.yml # The Mac (cogitator-02): mac role
├── bootstrap.yml # First-time server setup (user, SSH key, UFW, Tailscale)
├── dns.yml # Route53 A records (adds current ones, removes retired ones)
├── deploy-guard.yml # Stops real runs from anything but a clean origin/main
@@ -122,6 +130,7 @@ bin/deploy --tags services # every service, no system setup
bin/deploy # everything in site.yml
bin/deploy --check --diff --tags caddy # dry run (allowed from any checkout)
PLAYBOOK=dns.yml bin/deploy # DNS records
PLAYBOOK=mac.yml bin/deploy # the Mac (cogitator-02)
```
Category tags: `infrastructure`, `development`, `media`, `productivity`,