Installs the gitea git server. https://gitea.io
Go to file
Andrea Dell'Amico 07062187d0
Compatibility with the log configuration.
2024-04-28 16:22:16 +02:00
defaults Compatibility with the log configuration. 2024-04-28 16:22:16 +02:00
files Cron job that cleans up the archives. 2024-04-28 15:53:41 +02:00
handlers Make the linter happy. 2024-04-28 14:45:21 +02:00
meta Cron job that cleans up the archives. 2024-04-28 15:53:41 +02:00
tasks Move the LFS configuration in a dedicated task. 2024-04-28 16:12:16 +02:00
templates Move the LFS configuration in a dedicated task. 2024-04-28 16:12:16 +02:00
tests Initial commit 2020-06-03 13:27:24 +02:00
vars Support renderers and more configuration options. 2021-06-24 19:03:17 +02:00
.gitignore Initial commit 2020-06-03 13:27:24 +02:00
LICENSE Initial commit 2020-06-03 13:27:24 +02:00
README.md Cron job that cleans up the archives. 2024-04-28 15:53:41 +02:00

README.md

Role Name

A role that installs the gitea git repository server, https://gitea.io

Role Variables

The most important variables are listed below:

gitea_version: 1.21.11
gitea_local_postgresql: true
gitea_local_mysql: false
gitea_local_mariadb: false
gitea_nginx_frontend: true
gitea_local_redis: true
gitea_local_memcache: true
gitea_app_configurations:
  - { section: 'mailer', option: 'ENABLED', value: 'true', state: 'present' }
  - { section: 'mailer', option: 'FROM', value: '{{ gitea_mail_from }}', state: 'present' }
  - { section: 'mailer', option: 'MAILER_TYPE', value: '{{ gitea_mailer_type }}', state: 'present' }
  - { section: 'mailer', option: 'SENDMAIL_PATH', value: '{{ gitea_sendmail_path }}', state: 'present' }
  - { section: 'metrics', option: 'ENABLED', value: 'true', state: 'present' }
  - { section: 'metrics', option: 'TOKEN', value: '{{ gitea_prometheus_bearer_token }}', state: 'present' }
gitea_install_viewer_addons: True
gitea_addons_deb_packages:
  - jupyter
  - asciidoctor
  - pandoc

gitea_markup_asciidoc_enabled: True
gitea_markup_jupyter_enabled: True
gitea_markup_restructuredtext_enabled: True
gitea_markup_sanitizer_tex_enabled: True
gitea_markup_markdown_enabled: True
gitea_prometheus_metrics: False
gitea_prometheus_bearer_token: 'Use a vault'
gitea_log_level: Info

Dependencies

  • nginx
  • mysql, when a local mysql installation is required
  • postgresql, when a local postgresql installation is required

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it