No description
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. |
||
|---|---|---|
| defaults | ||
| handlers | ||
| meta | ||
| tasks | ||
| vars | ||
| README.md | ||
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)