|
|
|
@ -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 }}"
|
|
|
|
|