Add possible additional domains to ansible

This commit is contained in:
Tobias Reisinger 2023-12-04 17:51:15 +01:00
parent 47f90af3d6
commit 53edb5fced
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,7 @@
svc:
domain: "status.serguzim.me"
additional_domains:
- "status.serguzim.net"
name: uptime-kuma
port: 3001

View file

@ -1,3 +1,6 @@
{%- for domain in svc.additional_domains|default([]) %}
{{ domain }},
{% endfor -%}
{{ svc.domain }} {
import default
{{ svc.caddy_extra | default('') | indent(width='\t', first=True) }}