bugfix: service creation with portal is broken

- Filebeat autodiscover condition isn't working for all
  hosts. Switched condition to docker_enabled flag. If a
  container has no default log file (harbor) there isn't
  a problem because there will just no log file found.
  The autodiscover docker container log files mustn't
  deactivated in this cases at all.
feature/DEV-470_2nd
Sven Ketelsen 4 years ago
parent 6200deea76
commit 2cf1d8b9dc

@ -38,7 +38,7 @@ filebeat.inputs:
{% endif %}
{% endfor %}
{% endif %}
{% if ansible_fqdn not in groups['harbor'] %}
{% if docker_enabled | default(true) %}
filebeat.autodiscover:
providers:

Loading…
Cancel
Save