Skip to content
Snippets Groups Projects
Commit dfb115a0 authored by Bertrand Lallau's avatar Bertrand Lallau
Browse files

Fix Telegraf container restarting issue

Telegraf always restart containers when doing reconfigure, due to
"pid_mode" attribut missing during compare_container.
Hence compare_container always evaluated to True.

Change-Id: I335816ebf99a218a5400b2baae5b55788459bfff
Closes-Bug: #1686349
parent 3aba9c8e
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes }}"
pid_mode: "{{ item.value.pid_mode }}"
register: check_telegraf_containers
when:
- action != "config"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment