nginx-exporter: remove duplicate if

This commit is contained in:
Vasili Karaev 2020-07-29 16:03:45 +03:00
parent 95f1c30029
commit 3d2d26abfd
1 changed files with 0 additions and 2 deletions

View File

@ -9,8 +9,6 @@ services:
- "{{ nginx_exporter__port }}:9113"
{% if nginx_exporter is defined and nginx_exporter.docker is defined %}
extra_hosts: {{ nginx_exporter.docker.extra_hosts | default([]) | to_json }}
{% endif %}
{% if nginx_exporter is defined and nginx_exporter.docker is defined %}
environment: {{ nginx_exporter.docker.environment | default([]) | to_json }}
{% endif %}
logging: