Rewrite app.ini based on pregenerated one

The one on the wiki is ass and misses a couple keys that HAVE to be generated
This fixes me not being able to upload with SSH
This commit is contained in:
Salt 2020-04-30 12:33:04 -05:00
parent 75f5e0c46c
commit 67f636129c
2 changed files with 59 additions and 997 deletions

View File

@ -88,12 +88,18 @@
register: p
- name: Deploy config
block:
- name: Generate INTERNAL_TOKEN"
- name: Generate INTERNAL_TOKEN
command: /usr/local/bin/gitea generate secret INTERNAL_TOKEN
register: gitea_internal_token
- name: Generate SECRET_KEY"
- name: Generate SECRET_KEY
command: /usr/local/bin/gitea generate secret SECRET_KEY
register: gitea_secret_key
- name: Generate JWT_SECRET
command: /usr/local/bin/gitea generate secret JWT_SECRET
register: gitea_jwt_secret
- name: Generate LFS_JWT_SECRET
command: /usr/local/bin/gitea generate secret LFS_JWT_SECRET
register: gitea_lfs_jwt_secret
- name: Template out app.ini
template:
src: "app.ini"

File diff suppressed because it is too large Load Diff