{%- block formatted -%}
{%- set mod_names = list_modules(modules) -%}
{%- set pmod_names = list_modules(passthrough) -%}
{%- set w_names = list_workers() -%}
{%- if !modules.is_empty() -%}
modules:
{%- for name in mod_names.0 %} {{ name }}{%- endfor -%}
{%- endif %}
{% if !passthrough.is_empty() -%}
passthrough:
{%- for name in pmod_names.0 %} {{ name }}{%- endfor -%}
{%- endif -%}
{% if !workers.is_empty() -%}
workers:
{%- for name in w_names.0 %} {{ name }}{%- endfor -%}
{%- endif -%}{%- if mod_names.1 || pmod_names.1 || w_names.1 -%}; modules marked with * stopped working {%- endif -%}
{%- endblock -%}
{%- block plain -%}
{%- set mod_names = list_modules(modules) -%}
{%- set pmod_names = list_modules(passthrough) -%}
{%- set w_names = list_workers() -%}
{%- if !modules.is_empty() -%}
modules:
{%- for name in mod_names.0 %} {{ name }}{%- endfor -%}
{% endif %}
{% if !passthrough.is_empty() -%}
passthrough:
{%- for name in pmod_names.0 %} {{ name }}{%- endfor -%}
{% endif %}
{% if !workers.is_empty() -%}
workers:
{%- for name in w_names.0 %} {{ name }}{%- endfor -%}
{%- endif -%}{%- if mod_names.1 || pmod_names.1 || w_names.1 -%}; modules marked with * stopped working {%- endif -%}
{%- endblock -%}