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

add DEFAULT_PRIVATE option and increment version

This commit is contained in:
L3D 2021-07-25 01:18:59 +02:00
parent d136df1bac
commit 9b5db4c896
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 3 additions and 1 deletions

View file

@ -69,6 +69,7 @@ Either you define exactly which release you install. Or you use the option ``lat
| `gitea_user_repo_limit` | `-1` | Limit how many repos a user can have *(`-1` for unlimited)* | | `gitea_user_repo_limit` | `-1` | Limit how many repos a user can have *(`-1` for unlimited)* |
| `gitea_disable_http_git` | `false` | Disable the ability to interact with repositories over the HTTP protocol. (true/false) | | `gitea_disable_http_git` | `false` | Disable the ability to interact with repositories over the HTTP protocol. (true/false) |
| `gitea_default_branch` | `main` | Default branch name of all repositories. | | `gitea_default_branch` | `main` | Default branch name of all repositories. |
| `gitea_default_private` | `last` | Default private when creating a new repository. [`last`, `private`, `public`] |
| `gitea_repository_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[repository]` section of the config. | | `gitea_repository_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[repository]` section of the config. |
| `gitea_repository_upload_extra_config` | you can use this variable to pass additional config parameters in the `[repository.upload]` section of the config. | | `gitea_repository_upload_extra_config` | you can use this variable to pass additional config parameters in the `[repository.upload]` section of the config. |

View file

@ -29,6 +29,7 @@ gitea_force_private: false
gitea_user_repo_limit: '-1' gitea_user_repo_limit: '-1'
gitea_disable_http_git: false gitea_disable_http_git: false
gitea_default_branch: 'main' gitea_default_branch: 'main'
gitea_default_private: 'last'
gitea_repository_extra_config: '' gitea_repository_extra_config: ''
gitea_repository_upload_extra_config: '' gitea_repository_upload_extra_config: ''

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: 23 # should be int playbook_version_number: 24 # should be int
playbook_version_path: 'do1jlr.gitea.version' playbook_version_path: 'do1jlr.gitea.version'