fix some typo + add gitea_download_url in main

This commit is contained in:
meaz 2023-01-22 10:07:29 +01:00
parent 634006fbd0
commit fee3b90dbe
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4
2 changed files with 4 additions and 3 deletions

View file

@ -10,15 +10,15 @@ You can deploy test instance using `Vagrantfile` attached to the role.
Then you can then access gitea from your computer on `http://192.168.33.14:3000`
# Gitea or Forgejo
This role allows for deployment of gitea and forgejo. By default the role dpeloys forgejo and this is the flavor that is supported and maintained. Installing Gitea using the role is possible however starting from version 1.18.2 is no longer maintained by Disroot team.
This role allows for deployment of gitea and forgejo. By default the role deploys forgejo and this is the flavor that is supported and maintained. Installing Gitea using the role is possible however starting from version 1.18.2 is no longer maintained by Disroot team.
To switch to gitea, update following variables in your Playbook/host_vars:
```
gitea_falvour: 'gitea'
gitea_flavour: 'gitea'
gitea_version: '1.18.2'
gitea_arch: 'linux-amd64'
gitea_download_url: 'https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64'
gitea_download_url: 'https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-{{ gitea_arch }}'
```
## Playbook

View file

@ -9,6 +9,7 @@ gitea_confdir: '/etc/gitea/app.ini'
gitea_flavor: 'forgejo'
gitea_version: '1.18.2-0'
gitea_arch: 'linux-amd64'
#gitea_download_url: 'https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-{{ gitea_arch }}'
#[CONFIG]