Files
ansible/group_vars/mac/main.yml
T
PhilandClaude Opus 5.5 4bdb89885c Mac: hermes settings, set terminal.cwd to "." instead of unsetting
Non-interactively, `hermes config get` prints only the default for a key
that isn't in config.yaml, so an unset key can't be detected and the play
kept trying (and failing) to unset terminal.cwd. Set it to Hermes's own
default "." instead and drop the unset branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:26:50 -07:00

66 lines
2.9 KiB
YAML

# cogitator-02: an Apple Silicon Mac on the tailnet. Ansible manages it as
# phil; only tasks that set `become: true` use sudo.
ansible_python_interpreter: /usr/bin/python3
ansible_become_password: "{{ vault_cogitator02.become_password }}"
homebrew_taps:
- beeper/tap
homebrew_formulae:
- beeper/tap/bbctl
homebrew_casks:
- beeper
- claude-code
# Power settings (pmset, AC power). The Mac had `sleep 1` and only stayed up
# because BlueBubbles runs caffeinate; this keeps it up on its own.
mac_pmset:
sleep: 0 # never sleep
disksleep: 0 # never spin down disks
autorestart: 1 # power back on after a power cut
womp: 1 # wake on network access
# Hermes's web dashboard: a launchd service listening on 127.0.0.1 only,
# published to the tailnet over HTTPS by Tailscale Serve.
hermes_dashboard_port: 9119
hermes_dashboard_url: "https://{{ ansible_host }}"
hermes_dashboard_username: admin
# Individual Hermes settings, set with `hermes config set`. The rest of
# ~/.hermes/config.yaml stays Hermes's own (its updates migrate that file).
hermes_settings:
updates.pre_update_backup: full # zip of ~/.hermes before every update
timezone: America/Denver # cron schedules and the time in the prompt
# Never borrow Claude Code's login: subscription use outside Anthropic's own
# apps breaks its terms, and refreshing it can break Claude Code's login.
auth.adopt_external_logins: false
# Hermes's default. /workspace (a container path) made the host log a
# warning every few seconds (hermes-agent #140527); with the docker backend
# a host cwd never becomes the container's working directory anyway.
terminal.cwd: .
terminal.container_memory: 3072 # MB; must fit in the Podman VM (podman_machine_memory)
# Kanban is for multi-agent boards (unused here) and its 14 tools were 25 KB
# of the 65 KB of tool definitions sent with every message.
agent.disabled_toolsets: [kanban]
skills.write_approval: true # skills Hermes writes wait for your approval
# Never run these, even in the sandbox and even under /yolo (examples from
# Hermes's hardening guide). Case-insensitive globs over the whole command.
approvals.deny:
- "git push --force*"
- "*curl*|*sh*"
- "dd if=* of=/dev/*"
streaming.enabled: true # replies stream into Telegram as they're written
stt.local.model: small # voice notes: more accurate than base
# Podman VM that runs Hermes's sandbox containers.
podman_machine_memory: 4096 # MB
# Hermes cron jobs. `script` is a file in roles/mac/files/hermes-scripts/,
# copied to ~/.hermes/scripts/. Jobs are created when missing; to change one,
# edit or remove it in Hermes (`hermes cron edit|remove <name>`) and redeploy.
hermes_cron_jobs:
- name: hermes-update-notice
schedule: "7 9 * * 1" # Mondays 09:07
script: hermes-update-notice.sh
no_agent: true # just the script's output, no model
deliver: telegram