Add possible additional domains to ansible
This commit is contained in:
parent
47f90af3d6
commit
53edb5fced
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
svc:
|
||||
domain: "status.serguzim.me"
|
||||
additional_domains:
|
||||
- "status.serguzim.net"
|
||||
name: uptime-kuma
|
||||
port: 3001
|
||||
|
||||
|
|
|
@ -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) }}
|
||||
|
|
Reference in a new issue