--- 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', '/etc/ansible-credentials/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_update_script: "update_gitea.sh" gitea_update_script_path: "{{ gitea_installation_directory }}/{{ gitea_update_script }}"