server/gitea: Fixed default tokens location

dehydrated
Felix Stupp 5 years ago
parent 3804c7d138
commit 76fd5471e3
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -17,10 +17,10 @@ database_user: "gitea"
# database_pass from mysql/database
# database_name from mysql/database
gitea_internal_token: "{{ lookup('password', 'credentials/' + inventory_hostname + '/gitea/' + domain + '/internal_token length=80') }}"
gitea_cookie_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/gitea/' + domain + '/secret_key length=80') }}"
gitea_lfs_jwt_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/gitea/' + domain + '/lfs_jwt_secret length=43') }}"
gitea_oauth_jwt_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/gitea/' + domain + '/oauth_jwt_secret length=80') }}"
gitea_internal_token: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/internal_token length=80') }}"
gitea_cookie_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/secret_key length=80') }}"
gitea_lfs_jwt_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/lfs_jwt_secret length=43') }}"
gitea_oauth_jwt_secret: "{{ lookup('password', 'credentials/' + inventory_hostname + '/' + domain + '/oauth_jwt_secret length=80') }}"
gitea_update_script: "update_gitea.sh"
gitea_update_script_path: "{{ update_scripts_directory }}/{{ domain }}"

Loading…
Cancel
Save