refactor(servers_config): remove unused loop

This commit is contained in:
Tobias Jungel 2021-03-26 21:41:22 +01:00
parent 05994e1b17
commit 3825557070

View File

@ -99,10 +99,6 @@ nginx_server_available_dir:
- clean: {{ nginx.servers.purge_servers_config }} - clean: {{ nginx.servers.purge_servers_config }}
{%- endif %} {%- endif %}
# Manage the actual server files
{% for server, settings in nginx.servers.managed.items() %}
{% endfor %}
# Managed enabled/disabled state for servers # Managed enabled/disabled state for servers
{% for server, settings in nginx.servers.managed.items() %} {% for server, settings in nginx.servers.managed.items() %}
{% set conf_state_id = 'server_conf_' ~ loop.index0 %} {% set conf_state_id = 'server_conf_' ~ loop.index0 %}