|
|
|
---
|
|
|
|
|
|
|
|
domain: "gitea.localhost"
|
|
|
|
|
|
|
|
gitea_system_user: "git"
|
|
|
|
gitea_service_name: "{{ domain }}.service"
|
|
|
|
|
|
|
|
gitea_user_directory: "{{ global_webservers_directory }}/{{ domain }}"
|
|
|
|
gitea_installation_directory: "{{ gitea_user_directory }}/bin"
|
|
|
|
gitea_custom_directory: "{{ gitea_installation_directory }}/custom"
|
|
|
|
gitea_repositories_directory: "{{ gitea_user_directory }}/repositories"
|
|
|
|
gitea_binary_path: "{{ gitea_installation_directory }}/gitea"
|
|
|
|
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', 'credentials/' + inventory_hostname + '/mysql/' + gitea_database_user + ' length=80') }}"
|
|
|
|
gitea_database_name: "{{ gitea_database_user }}"
|
|
|
|
|
|
|
|
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: "{{ update_scripts_directory }}/{{ domain }}"
|