No description
Find a file
TheRealDarklord 437a3c5485 fix: adjust to changed work dir
Since version 9.0.0 the ENV name for Forgejo's working directory changed and isnn't prefixed with `GITEA` any longer. A check is implemented to change the working directory name based on the target Forgejo version.
2025-05-11 17:38:11 +02:00
defaults fix: fixed linter issues 2024-11-03 18:39:19 +01:00
handlers role 2021-03-14 18:41:39 +01:00
meta chore: version bump 2024-11-03 19:00:13 +01:00
tasks fix: adjust to changed work dir 2025-05-11 17:38:11 +02:00
vars fix: fixed linter issues 2024-11-03 18:39:19 +01:00
README.md refactor: updated role variable table 2024-11-03 18:45:26 +01:00

therealdarklord.setup_gitea

This role sets up the git service gitea.

Role Variables

Variable Type Default Description
therealdarklord_setup_gitea_mode string "upgrade" mode for setup, only supported value at the moment is "upgrade"
therealdarklord_setup_gitea_user_name string "gitea" user which shall run the gitea binary and which shall "host" the gitea files
therealdarklord_setup_gitea_user_password string "" password for the gitea user
therealdarklord_setup_gitea_release_arch string "" gitea binary architecture, depends on target host architecture
therealdarklord_setup_gitea_release_url string "https://github.com/go-gitea/gitea/releases/download/v{{ therealdarklord_setup_gitea_version }}/gitea-{{ therealdarklord_setup_gitea_version }}-linux-{{ therealdarklord_setup_gitea_release_arch }}" gitea release url
therealdarklord_setup_gitea_unit_url string "https://raw.githubusercontent.com/go-gitea/gitea/v{{ therealdarklord_setup_gitea_version }}/contrib/systemd/gitea.service" gitea service unit file url
therealdarklord_setup_gitea_version string null gitea release which shall be installed

Dependencies

This role depends on the role therealdarklord.setup_user to ensure the gitea user.

License

BSD-3-Clause

Author Information

Markus Reichardt (https://www.therealdarklord.eu)