mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
add ternary to more boolean options
This commit is contained in:
parent
9391914d12
commit
3a4b68fed7
1 changed files with 2 additions and 2 deletions
|
@ -157,13 +157,13 @@ LEVEL = {{ gitea_log_level }}
|
||||||
;
|
;
|
||||||
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#metrics-metrics
|
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#metrics-metrics
|
||||||
[metrics]
|
[metrics]
|
||||||
ENABLED = {{ gitea_metrics_enabled }}
|
ENABLED = {{ gitea_metrics_enabled | ternary('true', 'false') }}
|
||||||
TOKEN = {{ gitea_metrics_token }}
|
TOKEN = {{ gitea_metrics_token }}
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
; https://docs.gitea.io/en-us/config-cheat-sheet/#oauth2-oauth2
|
; https://docs.gitea.io/en-us/config-cheat-sheet/#oauth2-oauth2
|
||||||
[oauth2]
|
[oauth2]
|
||||||
ENABLE = {{ gitea_oauth2_enabled }}
|
ENABLE = {{ gitea_oauth2_enabled | ternary('true', 'false') }}
|
||||||
JWT_SECRET = {{ gitea_oauth2_jwt_secret }}
|
JWT_SECRET = {{ gitea_oauth2_jwt_secret }}
|
||||||
{{ gitea_oauth2_extra_config }}
|
{{ gitea_oauth2_extra_config }}
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue