Hermes has no auto-update for itself, and /update from Telegram can leave a launchd gateway offline. Instead, a no-agent Hermes cron job runs `hermes update --check` on Mondays at 09:07 and messages Telegram only when a new stable release is out (a failing check sends an error alert). Adds hermes_cron_jobs (scripts in files/hermes-scripts/, copied to ~/.hermes/scripts/; jobs created when missing) so the deal checker can follow the same pattern. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.6 KiB
YAML
42 lines
1.6 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
|
|
|
|
# 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
|