Skip to content

Commit 9b5db4c

Browse files
committed
add DEFAULT_PRIVATE option and increment version
1 parent d136df1 commit 9b5db4c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

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

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ gitea_force_private: false
2929
gitea_user_repo_limit: '-1'
3030
gitea_disable_http_git: false
3131
gitea_default_branch: 'main'
32+
gitea_default_private: 'last'
3233
gitea_repository_extra_config: ''
3334
gitea_repository_upload_extra_config: ''
3435

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ transfer_custom_footer:
5656
- 'files/gitea_footer/extra_links_footer.tmpl'
5757
- 'files/extra_links_footer.tmpl'
5858

59-
playbook_version_number: 23 # should be int
59+
playbook_version_number: 24 # should be int
6060
playbook_version_path: 'do1jlr.gitea.version'

0 commit comments

Comments
 (0)