mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
reorder Issue and pull request attachments variables
This commit is contained in:
parent
4aa5562c49
commit
9f867af9ca
3 changed files with 16 additions and 6 deletions
|
@ -184,6 +184,12 @@ Here is a deeper insight into the variables of this gitea role. For the exact fu
|
||||||
| `gitea_disable_gravatar` | `true` | Do you want to disable Gravatar ? (privacy and so on) (true/false) |
|
| `gitea_disable_gravatar` | `true` | Do you want to disable Gravatar ? (privacy and so on) (true/false) |
|
||||||
| `gitea_picture_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[picture]` section of the config. |
|
| `gitea_picture_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[picture]` section of the config. |
|
||||||
|
|
||||||
|
### Issue and pull request attachments ([attachment](https://docs.gitea.io/en-us/config-cheat-sheet/#issue-and-pull-request-attachments-attachment))
|
||||||
|
| variable name | default value | description |
|
||||||
|
| ------------- | ------------- | ----------- |
|
||||||
|
| `attachment_enabled` | `true` | Whether issue and pull request attachments are enabled. |
|
||||||
|
| `gitea_attachment_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[attachment]` section of the config. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,10 @@ gitea_session_extra_config: ''
|
||||||
gitea_disable_gravatar: true
|
gitea_disable_gravatar: true
|
||||||
gitea_picture_extra_config: ''
|
gitea_picture_extra_config: ''
|
||||||
|
|
||||||
|
# Issue and pull request attachments (attachment)
|
||||||
|
gitea_attachment_enabled: true
|
||||||
|
gitea_picture_extra_config: ''
|
||||||
|
|
||||||
# security
|
# security
|
||||||
gitea_lfs_jwt_secret: ''
|
gitea_lfs_jwt_secret: ''
|
||||||
gitea_oauth2_jwt_secret: ''
|
gitea_oauth2_jwt_secret: ''
|
||||||
|
|
|
@ -137,14 +137,14 @@ DISABLE_GRAVATAR = {{ gitea_disable_gravatar | ternary('true', 'false') }}
|
||||||
{{ gitea_picture_extra_config }}
|
{{ gitea_picture_extra_config }}
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
;
|
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#issue-and-pull-request-attachments-attachment
|
||||||
|
|
||||||
[attachment]
|
[attachment]
|
||||||
; Whether attachments are enabled. Defaults to `true`
|
ENABLED = {{ gitea_attachment_enabled | ternary('true', 'false') }}
|
||||||
ENABLED = true
|
|
||||||
; Path for attachments. Defaults to `data/attachments`
|
|
||||||
PATH = {{ gitea_home }}/data/attachments
|
PATH = {{ gitea_home }}/data/attachments
|
||||||
|
{{ gitea_attachment_extra_config }}
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
[log]
|
[log]
|
||||||
ROOT_PATH = {{ gitea_home }}/log
|
ROOT_PATH = {{ gitea_home }}/log
|
||||||
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
||||||
|
|
Loading…
Reference in a new issue