Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
_ansible/templates
|
@ -1,7 +1,7 @@
|
|||
{%- set compose_file = compose.file | default({}) -%}
|
||||
{%- set compose_file = compose_file_main | combine(compose_file, recursive=True) -%}
|
||||
|
||||
{%- if compose.env | default(False) -%}
|
||||
{%- if env is defined -%}
|
||||
{%- set compose_file = compose_file | combine(compose_file_env, recursive=True) -%}
|
||||
{%- endif -%}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{% for key, value in svc_env.items() %}
|
||||
{% for key, value in env.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{{ svc_yml | to_nice_yaml }}
|
||||
{{ yml | to_nice_yaml }}
|
||||
|
|
Reference in a new issue