Files
ansible/roles/mac/tasks/main.yml
T
PhilandClaude Opus 5.5 2d23b9c470 Mac: weekly Hermes update notice on Telegram
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>
2026-11-11 06:59:37 -07:00

44 lines
1.0 KiB
YAML

# Homebrew refuses to run as root, so none of these use become.
- name: Homebrew taps
community.general.homebrew_tap:
name: "{{ homebrew_taps }}"
tags: homebrew
- name: Homebrew formulae
community.general.homebrew:
name: "{{ homebrew_formulae }}"
state: present
tags: homebrew
- name: Homebrew casks
community.general.homebrew_cask:
name: "{{ homebrew_casks }}"
state: present
tags: homebrew
- name: SSH key
ansible.posix.authorized_key:
user: "{{ ansible_user }}"
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_ed25519.pub') }}"
tags: ssh
- name: Power settings
ansible.builtin.import_tasks: power.yml
tags: power
- name: Firewall
ansible.builtin.import_tasks: firewall.yml
tags: firewall
- name: Hermes dashboard
ansible.builtin.import_tasks: hermes-dashboard.yml
tags: hermes-dashboard
- name: Hermes settings
ansible.builtin.import_tasks: hermes-settings.yml
tags: hermes-settings
- name: Hermes cron jobs
ansible.builtin.import_tasks: hermes-cron.yml
tags: hermes-cron