From 98f2589bf4d7ec4761bb0c0af954806ce966eaa3 Mon Sep 17 00:00:00 2001 From: shirenn Date: Wed, 11 Jan 2023 16:44:26 +0100 Subject: [PATCH] [gitea] Upgrade --- group_vars/gitea.yml | 2 +- roles/gitea/templates/gitea/app.ini.j2 | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index 762a2b2e..6fa407f6 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -1,6 +1,6 @@ --- glob_gitea: - version: 1.17.4 + version: 1.18.0 home_path: /stock/git data_path: /stock/gitea config: diff --git a/roles/gitea/templates/gitea/app.ini.j2 b/roles/gitea/templates/gitea/app.ini.j2 index d0f3a47c..87e472ec 100644 --- a/roles/gitea/templates/gitea/app.ini.j2 +++ b/roles/gitea/templates/gitea/app.ini.j2 @@ -1,5 +1,3 @@ -{{ ansible_header | comment }} - APP_NAME = {{ gitea.config.app_name }} RUN_USER = git RUN_MODE = prod @@ -17,7 +15,7 @@ DB_TYPE = sqlite3 NAME = gitea USER = gitea PASSWD = {{ gitea.config.database.passwd }} -SCHEMA = +SCHEMA = SSL_MODE = disable CHARSET = utf8 PATH = {{ (gitea.data_path, 'data', 'gitea.db') | path_join }}