forgejo: enable email notifications

This commit is contained in:
Timotej Lazar 2025-11-15 10:21:21 +01:00
parent fbe8f00e05
commit a4b1c668a6
2 changed files with 5 additions and 0 deletions

View file

@ -1,2 +1,3 @@
dependencies:
- role: nginx
- role: opensmtpd

View file

@ -40,6 +40,10 @@
- { section: other, option: SHOW_FOOTER_TEMPLATE_LOAD_TIME, value: 'false' }
- { section: cron.update_checker, option: ENABLED, value: 'false' }
- { section: security, option: INSTALL_LOCK, value: 'true' }
- { section: mailer, option: ENABLED, value: 'true' }
- { section: mailer, option: PROTOCOL, value: 'sendmail' }
- { section: mailer, option: FROM, value: 'noreply@{{ dns_name }}' }
- { section: mailer, option: SEND_AS_PLAIN_TEXT, value: 'true' }
notify: restart forgejo
- name: Enable forgejo service