Add umami to ansible
This commit is contained in:
parent
7ff7dfe807
commit
ecd00fc75d
15 changed files with 91 additions and 49 deletions
_ansible/templates
|
@ -1,4 +1,4 @@
|
|||
{{ service.domain }} {
|
||||
{{ svc.domain }} {
|
||||
import default
|
||||
reverse_proxy {{ service.name }}:{{ service.port }}
|
||||
reverse_proxy {{ svc.name }}:{{ svc.port }}
|
||||
}
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
{{ compose_default_file | combine(compose_file, recursive=True) | to_nice_yaml }}
|
||||
{% set compose_file = compose_file | default({}) %}
|
||||
{% set compose_file = compose_default_file | combine(compose_file, recursive=True) %}
|
||||
{% if compose.env | default(False) %}
|
||||
{% set compose_file = compose_file | combine(compose_env_file, recursive=True) %}
|
||||
{% endif %}
|
||||
{{ compose_file | to_nice_yaml }}
|
||||
|
|
3
_ansible/templates/service.env.j2
Normal file
3
_ansible/templates/service.env.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% for key, value in svc_env.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
Reference in a new issue