Add umami to ansible

This commit is contained in:
Tobias Reisinger 2023-06-13 20:48:16 +02:00
parent 7ff7dfe807
commit ecd00fc75d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
15 changed files with 91 additions and 49 deletions
_ansible/roles/acme-dns/templates

View file

@ -1,23 +1,23 @@
[general]
listen = "0.0.0.0:53"
protocol = "both"
domain = "{{ acme_dns.domain }}"
nsname = "{{ acme_dns.domain }}"
nsadmin = "{{ acme_dns.nsadmin }}"
domain = "{{ svc.domain }}"
nsname = "{{ svc.domain }}"
nsadmin = "{{ svc.nsadmin }}"
records = [
"{{ acme_dns.domain }}. A {{ acme_dns.records.a }}",
"{{ acme_dns.domain }}. NS {{ acme_dns.domain }}.",
"{{ svc.domain }}. A {{ svc.records.a }}",
"{{ svc.domain }}. NS {{ svc.domain }}.",
]
debug = false
[database]
engine = "postgres"
connection = "postgres://{{ acme_dns.db.user }}:{{ acme_dns.db.pass }}@{{ acme_dns.db.host }}/{{ acme_dns.db.db }}"
connection = "postgres://{{ svc.db.user }}:{{ svc.db.pass }}@{{ svc.db.host }}/{{ svc.db.db }}"
[api]
ip = "0.0.0.0"
disable_registration = false
port = "80"
port = "{{ svc.port }}"
tls = "none"
corsorigins = [
"*"