1
1
Fork 0
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:
L3D 2021-03-21 23:34:25 +01:00
parent f568d8f13c
commit 4aa5562c49
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -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: ''

View file

@ -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`