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:
|
svc:
|
||||||
domain: "status.serguzim.me"
|
domain: "status.serguzim.me"
|
||||||
|
additional_domains:
|
||||||
|
- "status.serguzim.net"
|
||||||
name: uptime-kuma
|
name: uptime-kuma
|
||||||
port: 3001
|
port: 3001
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
{%- for domain in svc.additional_domains|default([]) %}
|
||||||
|
{{ domain }},
|
||||||
|
{% endfor -%}
|
||||||
{{ svc.domain }} {
|
{{ svc.domain }} {
|
||||||
import default
|
import default
|
||||||
{{ svc.caddy_extra | default('') | indent(width='\t', first=True) }}
|
{{ svc.caddy_extra | default('') | indent(width='\t', first=True) }}
|
||||||
|
|
Reference in a new issue