Template fixes

master
Oleg "Zmey!" Vasiliev 2023-10-26 21:29:35 +03:00
parent 56bb714e47
commit cb618cd46c
2 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,10 @@
--- ---
# Reference: https://vikunja.io/docs/config-options/ # Reference: https://vikunja.io/docs/config-options/
# <something> - is not a real values, it's placeholders: https://github.com/go-vikunja/api/issues/76
# So set them to desired values or comment out to use Vikunja defaults
vikunja_config: vikunja_config:
# <something> - is not a real values, it's placeholders: https://github.com/go-vikunja/api/issues/76
# So set them to desired values or comment out to use Vikunja defaults
service: service:
# This token is used to verify issued JWT tokens. # This token is used to verify issued JWT tokens.
# Default is a random token which will be generated at each startup of vikunja. # Default is a random token which will be generated at each startup of vikunja.
@ -50,12 +50,12 @@ vikunja_config:
# Whether totp is enabled. In most cases you want to leave that enabled. # Whether totp is enabled. In most cases you want to leave that enabled.
enabletotp: true enabletotp: true
# If not empty, enables logging of crashes and unhandled errors in sentry. # If not empty, enables logging of crashes and unhandled errors in sentry.
sentrydsn: '' sentrydsn: ""
# If not empty, this will enable `/test/{table}` endpoints which allow to put any content in the database. # If not empty, this will enable `/test/{table}` endpoints which allow to put any content in the database.
# Used to reset the db before frontend tests. Because this is quite a dangerous feature allowing for lots of harm, # Used to reset the db before frontend tests. Because this is quite a dangerous feature allowing for lots of harm,
# each request made to this endpoint needs to provide an `Authorization: <token>` header with the token from below. <br/> # each request made to this endpoint needs to provide an `Authorization: <token>` header with the token from below. <br/>
# **You should never use this unless you know exactly what you're doing** # **You should never use this unless you know exactly what you're doing**
testingtoken: '' testingtoken: ""
# If enabled, vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder # If enabled, vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder
# is due. # is due.
enableemailreminders: true enableemailreminders: true
@ -102,9 +102,9 @@ vikunja_config:
# Whether to enable redis or not # Whether to enable redis or not
enabled: false enabled: false
# The host of the redis server including its port. # The host of the redis server including its port.
host: 'localhost:6379' host: "localhost:6379"
# The password used to authenticate against the redis server # The password used to authenticate against the redis server
password: '' password: ""
# 0 means default database # 0 means default database
db: 0 db: 0
@ -329,7 +329,8 @@ vikunja_config:
# If set to true will send an email every day with all overdue tasks at a configured time. # If set to true will send an email every day with all overdue tasks at a configured time.
overdue_tasks_reminders_enabled: true overdue_tasks_reminders_enabled: true
# When to send the overdue task reminder email. # When to send the overdue task reminder email.
overdue_tasks_reminders_time: 9:00 # Quotes are important here: the preventing parsing value as time and convert it to minutes on output to yaml.
overdue_tasks_reminders_time: "9:00"
# The id of the default project. Make sure users actually have access to this project when setting this value. # The id of the default project. Make sure users actually have access to this project when setting this value.
default_project_id: 0 default_project_id: 0
# Start of the week for the user. `0` is sunday, `1` is monday and so on. # Start of the week for the user. `0` is sunday, `1` is monday and so on.

View File

@ -1,4 +1,4 @@
--- ---
{{ ansible_managed }} {{ ansible_managed }}
{{ vikunja_config | to_yaml }} {{ vikunja_config | to_nice_yaml(indent=2, sort_keys=False) }}