{%- for service in service_status -%}
{% if service_page == 'nginx' or service_page == 'keepalived' %}
{% else %}
{% endif %} Server status
{% if service_page == 'haproxy' %}
{{ service.2 }}
{% endif %} {% if service_page == 'nginx' or service_page == 'keepalived' %}
{% else %}
{% endif %}
{% endfor %}