1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

change default gitea_version to latest

This commit changes the default gitea_version to ``latest`` as discussed in Issue #46
CLOSE https://github.com/roles-ansible/ansible_role_gitea/issues/46
This commit is contained in:
L3D 2022-03-27 04:08:55 +02:00
parent aab8c2df1e
commit 624ee008b4
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ Either you define exactly which release you install. Or you use the option ``lat
### gitea update ### gitea update
| variable name | default value | description | | variable name | default value | description |
| ------------- | ------------- | ----------- | | ------------- | ------------- | ----------- |
| `gitea_version` | **WILL CHANGE SOON** | Define either the exact release to install or use ``latest`` to install the latest release. | | `gitea_version` | `latest` | Define either the exact release to install *(eg. `1.16.0`)* or use ``latest`` *(default)* to install the latest release. |
| `gitea_version_check` | `true` | Check if installed version != `gitea_version` before initiating binary download | | `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_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 | | `gitea_gpg_server` | `hkps://keys.openpgp.org` | A gpg key server where this role can download the gpg key |

View file

@ -1,7 +1,7 @@
--- ---
# gitea version # gitea version
# Use 'latest' to auto-update; upgrading past role version may lead to errors. # Use 'latest' to auto-update; upgrading past role version may lead to errors.
gitea_version: '1.16.0' gitea_version: 'latest'
gitea_version_check: true gitea_version_check: true
gitea_gpg_key: '7C9E68152594688862D62AF62D9AE806EC1592E2' gitea_gpg_key: '7C9E68152594688862D62AF62D9AE806EC1592E2'
gitea_gpg_server: 'hkps://keys.openpgp.org' gitea_gpg_server: 'hkps://keys.openpgp.org'

View file

@ -56,5 +56,5 @@ transfer_custom_footer:
- 'files/gitea_footer/extra_links_footer.tmpl' - 'files/gitea_footer/extra_links_footer.tmpl'
- 'files/extra_links_footer.tmpl' - 'files/extra_links_footer.tmpl'
playbook_version_number: 35 # should be int playbook_version_number: 36 # should be int
playbook_version_path: 'do1jlr.gitea.version' playbook_version_path: 'do1jlr.gitea.version'