diff --git a/defaults/main.yml b/defaults/main.yml index f8880d9..436308e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -29,6 +29,7 @@ gitea_listen_protocol: "{{ gitea_bind_protocol }}" gitea_install_lock: true gitea_secret: "1234567ABCDEFG" +gitea_token: "akslkaldasasifiuvsiasfa7s7f8as7f8asd" gitea_run_mode: prod gitea_landing_page: explore gitea_disable_registration: true diff --git a/templates/custom/conf/app.ini.j2 b/templates/custom/conf/app.ini.j2 index 486f718..52416e8 100644 --- a/templates/custom/conf/app.ini.j2 +++ b/templates/custom/conf/app.ini.j2 @@ -98,6 +98,7 @@ REPO_INDEXER_ENABLED = true [security] INSTALL_LOCK = {{ gitea_install_lock }} SECRET_KEY = {{ gitea_secret }} +INTERNAL_TOKEN = {{ gitea_token }} MIN_PASSWORD_LENGTH = 8 DISABLE_GIT_HOOKS = false