Fix Haproxy reconfigure

HAproxy always restart containers when doing reconfigure.
compare_container not evaluate privileged while the containers
are privileged.
compare_container always evaluates true because of this.

Closes-Bug: #1678122
Change-Id: Iaea80c1e09ef16a6d2530a75e6f37e6259bb4ca7
This commit is contained in:
Eduardo Gonzalez 2017-03-31 12:51:54 +01:00
parent bed0357931
commit 4c27bd0d41

View File

@ -88,6 +88,7 @@
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes }}"
privileged: "{{ item.value.privileged | default(False) }}"
register: check_haproxy_containers
when:
- action != "config"