mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Merge pull request #25 from roles-ansible/DO1JLR-patch-1
add ternary to more boolean options
This commit is contained in:
commit
26b4afd3bc
1 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ REPO_INDEXER_ENABLED = {{ gitea_repo_indexer_enabled | ternary('true',
|
|||
REPO_INDEXER_PATH = {{ gitea_home }}/indexers/repos.bleve
|
||||
REPO_INDEXER_INCLUDE = {{ gitea_repo_indexer_include }}
|
||||
REPO_INDEXER_EXCLUDE = {{ gitea_repo_indexer_exclude }}
|
||||
REPO_INDEXER_EXCLUDE_VENDORED = {{ gitea_repo_exclude_vendored }}
|
||||
REPO_INDEXER_EXCLUDE_VENDORED = {{ gitea_repo_exclude_vendored | ternary('true', 'false') }}
|
||||
MAX_FILE_SIZE = {{ gitea_repo_indexer_max_file_size }}
|
||||
{{ gitea_indexer_extra_config }}
|
||||
;
|
||||
|
@ -157,13 +157,13 @@ LEVEL = {{ gitea_log_level }}
|
|||
;
|
||||
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#metrics-metrics
|
||||
[metrics]
|
||||
ENABLED = {{ gitea_metrics_enabled }}
|
||||
ENABLED = {{ gitea_metrics_enabled | ternary('true', 'false') }}
|
||||
TOKEN = {{ gitea_metrics_token }}
|
||||
;
|
||||
;
|
||||
; https://docs.gitea.io/en-us/config-cheat-sheet/#oauth2-oauth2
|
||||
[oauth2]
|
||||
ENABLE = {{ gitea_oauth2_enabled }}
|
||||
ENABLE = {{ gitea_oauth2_enabled | ternary('true', 'false') }}
|
||||
JWT_SECRET = {{ gitea_oauth2_jwt_secret }}
|
||||
{{ gitea_oauth2_extra_config }}
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue