loadbalancer: fix upgrade task when podman is used

Closes-Bug: 2063896
Change-Id: Ie0d6a8f458562eb32171b5fe23b8cd0cd375dcfb
This commit is contained in:
Michal Wyszkowski 2024-04-27 02:18:02 +02:00
parent 55cdf7905d
commit ca90fb8327
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@
become: true
kolla_container:
action: "stop_and_remove_container"
common_options: "{{ docker_common_options }}"
name: "prometheus_haproxy_exporter"
when:
- inventory_hostname in groups['loadbalancer']

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes a bug where loadbalancer upgrade task fails,
when podman was used as container engine.
`LP#2063896 <https://launchpad.net/bugs/2063896>`__