From 32f0a15715e4c49a954bd8bb3c7960a341fd6caa Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 19 Jul 2021 01:09:52 +0200 Subject: [PATCH] Add some description to the README Add some description to the README and increment the basic versionscheck --- README.md | 8 ++++++-- vars/main.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 851baee..aae2d66 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,14 @@ The following code has been tested with Debian 8, it should work on Ubuntu as we ----------- Here is a deeper insight into the variables of this gitea role. For the exact function of some variables and the possibility to add more options we recommend a look at the config cheat sheet. For the exact function of some variables and the possibility to add more options we recommend a look at this [config cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/). -### gitea version +### gitea update +To determine which gitea version to install, you can choose between two variants. +Either you define exactly which release you install. Or you use the option ``latest`` to always install the latest release from the [gitea releases](https://github.com/go-gitea/gitea/releases/latest). + +### gitea update | variable name | default value | description | | ------------- | ------------- | ----------- | -| `gitea_version` | *(see [defaults/main.yml](defaults/main.yml#L3))* | The gitea version this role shoud install | +| `gitea_version` | **WILL CHANGE SOON** | Define either the exact release to install or use ``latest`` to install the latest release. | | `gitea_version_check` | `true` | Check if installed version != `gitea_version` before initiating binary download | | `gitea_gpg_key` | `7C9E68152594688862D62AF62D9AE806EC1592E2` | the gpg key the gitea binary is signed with | | `gitea_gpg_server` | `hkps://keys.openpgp.org` | A gpg key server where this role can download the gpg key | diff --git a/vars/main.yml b/vars/main.yml index a3eee09..448f0c1 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -56,5 +56,5 @@ transfer_custom_footer: - 'files/gitea_footer/extra_links_footer.tmpl' - 'files/extra_links_footer.tmpl' -playbook_version_number: 20 # should be int +playbook_version_number: 21 # should be int playbook_version_path: 'do1jlr.gitea.version'