mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
3226a76d94
Old behavior is to download the binary of `gitea_version` every run, then checksum it against the currently installed version to see if it needs to be copied over. New behavior is to attempt to extract the current running version of gitea and only initiate the old behavior if the running version != `gitea_version`. Default is old behavior due to the major logic change involved.
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
---
|
|
gitea_version: "1.7.5"
|
|
gitea_version_check: false
|
|
|
|
gitea_app_name: "Gitea"
|
|
gitea_user: "gitea"
|
|
gitea_home: "/var/lib/gitea"
|
|
gitea_shell: "/bin/false"
|
|
|
|
gitea_user_repo_limit: -1
|
|
|
|
gitea_http_domain: localhost
|
|
gitea_root_url: http://localhost:3000
|
|
gitea_protocol: http
|
|
gitea_http_listen: 127.0.0.1
|
|
gitea_http_port: 3000
|
|
gitea_disable_http_git: false
|
|
gitea_offline_mode: true
|
|
|
|
gitea_db_type: sqlite3
|
|
gitea_db_host: 127.0.0.0:3306
|
|
gitea_db_name: root
|
|
gitea_db_user: gitea
|
|
gitea_db_password: lel
|
|
gitea_db_ssl: disable
|
|
gitea_db_path: "{{ gitea_home }}/data/gitea.db"
|
|
|
|
gitea_ssh_listen: 0.0.0.0
|
|
gitea_ssh_domain: localhost
|
|
gitea_start_ssh: true
|
|
gitea_ssh_port: 2222
|
|
|
|
gitea_secret_key: T0pS3cr31
|
|
gitea_internal_token: SomethingVeryLong
|
|
|
|
gitea_show_user_email: false
|
|
gitea_disable_gravatar: true
|
|
gitea_disable_registration: false
|
|
gitea_show_registration_button: true
|
|
gitea_require_signin: true
|
|
gitea_enable_captcha: true
|
|
|
|
gitea_force_private: false
|
|
|
|
gitea_mailer_enabled: false
|
|
gitea_mailer_skip_verify: false
|
|
gitea_mailer_tls_enabled: true
|
|
gitea_mailer_host: localhost:25
|
|
gitea_mailer_from: noreply@your.domain
|
|
|
|
gitea_fail2ban_enabled: false
|
|
gitea_fail2ban_jail_maxretry: 10
|
|
gitea_fail2ban_jail_findtime: 3600
|
|
gitea_fail2ban_jail_bantime: 900
|
|
gitea_fail2ban_jail_action: iptables-allports
|
|
|
|
gitea_oauth2_enabled: true
|
|
gitea_oauth2_jwt_secret: ChangeMe
|