Add forgejo role to ansible playbook

Manages installation and service via homebrew. Config at
/opt/homebrew/var/forgejo/custom/conf/app.ini contains secrets
and is not templated - backed up by borgmatic instead.

Includes check that fails with restore instructions if config missing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-01-13 23:00:46 -08:00
commit d1396b1cfb
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
- name: restart forgejo
ansible.builtin.command: brew services restart forgejo