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:
parent
bed0357931
commit
4c27bd0d41
@ -88,6 +88,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
|
privileged: "{{ item.value.privileged | default(False) }}"
|
||||||
register: check_haproxy_containers
|
register: check_haproxy_containers
|
||||||
when:
|
when:
|
||||||
- action != "config"
|
- action != "config"
|
||||||
|
Loading…
Reference in New Issue
Block a user