Skip to content
Snippets Groups Projects
Commit 4c27bd0d authored by Eduardo Gonzalez's avatar Eduardo Gonzalez
Browse files

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
parent bed03579
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
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