|
|
|
@ -14,10 +14,13 @@ gitea_socket_path: "{{ gitea_user_directory }}/gitea.socket"
|
|
|
|
|
gitea_configuration_path: "{{ gitea_custom_directory }}/app.ini"
|
|
|
|
|
|
|
|
|
|
gitea_database_user: "gitea"
|
|
|
|
|
gitea_database_pass: "{{ lookup('password', '/etc/ansible-credentials/mysql/' + gitea_database_user + ' length=80' ) }}"
|
|
|
|
|
gitea_database_pass: "{{ lookup('password', 'credentials/' + inventory_hostname + '/mysql/' + gitea_database_user + ' length=80') }}"
|
|
|
|
|
gitea_database_name: "{{ gitea_database_user }}"
|
|
|
|
|
|
|
|
|
|
gitea_cookie_secret: "{{ lookup('password', '/etc/ansible-credentials/cookies/' + domain + ' length=80') }}"
|
|
|
|
|
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_update_script: "update_gitea.sh"
|
|
|
|
|
gitea_update_script_path: "{{ gitea_installation_directory }}/{{ gitea_update_script }}"
|
|
|
|
|