aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-22 20:03:25 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-22 20:03:25 +0200
commit4790dcfc39ecfd382fbcb3e5250f76f1522f955b (patch)
tree1ebfed7a706b8c3b8cbe12ee0097bb5fe5161b44
parent05a269404076188c86cc25b54504811c6a7d56da (diff)
downloadansible_collection-4790dcfc39ecfd382fbcb3e5250f76f1522f955b.tar.gz
fix gitea
-rw-r--r--galaxy.yml2
-rw-r--r--roles/gitea/templates/app.ini.j25
2 files changed, 5 insertions, 2 deletions
diff --git a/galaxy.yml b/galaxy.yml
index b0ba438..d5ff7f3 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -1,6 +1,6 @@
namespace: kompetenzbolzen
name: stuff
-version: 0.19.0
+version: 0.19.1
readme: README.md
authors:
- Jonas Gunz <himself@jonasgunz.de>
diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2
index 3be53b0..26c1527 100644
--- a/roles/gitea/templates/app.ini.j2
+++ b/roles/gitea/templates/app.ini.j2
@@ -8,6 +8,7 @@ RUN_MODE = prod
ROOT = /home/git/gitea-repositories
[server]
+APP_DATA_PATH = /home/git/
PROTOCOL = https
DOMAIN = {{ ansible_facts.fqdn }}
ROOT_URL = {{ gitea.root_url }}
@@ -54,7 +55,6 @@ ALLOWED_HOST_LIST = {{ gitea.webhook_allowed_hosts }}
[mailer]
ENABLED = {{ gitea.mail.enable }}
{% if gitea.mail.enable %}
-SEND_BUFFER_LEN = 100
SUBJECT_PREFIX = {{ gitea.mail.subject_prefix }}
HOST = {{ gitea.mail.smtp_host }}
SKIP_VERIFY = {{ gitea.mail.skip_verify }}
@@ -67,6 +67,9 @@ MAILER_TYPE = smtp
SENDMAIL_PATH = sendmail
SENDMAIL_ARGS =
SENDMAIL_TIMEOUT = 5m
+
+[queue.mailer]
+SEND_BUFFER_LEN = 100
{% endif %}
[log]