More fixes

master
Oleg "Zmey!" Vasiliev 2023-10-07 16:18:07 +03:00
parent 70b95afe7f
commit 267d44b7d4
2 changed files with 4 additions and 3 deletions

View File

@ -13,12 +13,12 @@ gitea_config:
NAME: gitea
USER: root
security:
INSTALL_LOCK: false
INSTALL_LOCK: "false"
SECRET_KEY:
INTERNAL_TOKEN:
camo:
oauth2:
ENABLE: true
ENABLE: "true"
log:
MODE: console
LEVEL: Info

View File

@ -1,7 +1,8 @@
;; {{ ansible_managed }}
{% for section, settings in gitea_config.items() %}
[{{ section }}]
{% set settings = {} if settings == None else settings %}
{% for param, value in settings.items() %}
{{ param }} = {{ value }}
{{ param }} = {{ value | d('') }}
{% endfor %}
{% endfor %}