mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
reorder pictures variables
This commit is contained in:
parent
f568d8f13c
commit
4aa5562c49
3 changed files with 12 additions and 5 deletions
|
@ -178,6 +178,11 @@ Here is a deeper insight into the variables of this gitea role. For the exact fu
|
|||
| `gitea_session_provider` | `file` | Session engine provider |
|
||||
| `gitea_session_extra_config` | `''` | you can use this variable to pass additional config parameters in the `[session]` section of the config. |
|
||||
|
||||
### Picture ([picture](https://docs.gitea.io/en-us/config-cheat-sheet/#picture-picture))
|
||||
| variable name | default value | description |
|
||||
| ------------- | ------------- | ----------- |
|
||||
| `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. |
|
||||
|
||||
|
||||
|
||||
|
@ -191,7 +196,6 @@ Here is a deeper insight into the variables of this gitea role. For the exact fu
|
|||
### Look and feel
|
||||
| variable name | default value | description |
|
||||
| ------------- | ------------- | ----------- |
|
||||
| `gitea_disable_gravatar` | `true` | Do you want to disable Gravatar ? (privacy and so on) (true/false) |
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
@ -108,9 +108,9 @@ gitea_mailer_extra_config: ''
|
|||
gitea_session_provider: 'file'
|
||||
gitea_session_extra_config: ''
|
||||
|
||||
#
|
||||
# look and feel
|
||||
# Picture (picture)
|
||||
gitea_disable_gravatar: true
|
||||
gitea_picture_extra_config: ''
|
||||
|
||||
# security
|
||||
gitea_lfs_jwt_secret: ''
|
||||
|
|
|
@ -130,11 +130,14 @@ PROVIDER_CONFIG = {{ gitea_home }}/data/sessions
|
|||
{{ gitea_session_extra_config }}
|
||||
;
|
||||
;
|
||||
;
|
||||
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#picture-picture
|
||||
[picture]
|
||||
AVATAR_UPLOAD_PATH = {{ gitea_home }}/data/avatars
|
||||
; This value will always be true in offline mode.
|
||||
DISABLE_GRAVATAR = {{ gitea_disable_gravatar | ternary('true', 'false') }}
|
||||
{{ gitea_picture_extra_config }}
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
[attachment]
|
||||
; Whether attachments are enabled. Defaults to `true`
|
||||
|
|
Loading…
Reference in a new issue