loadbalancer: ignore missing keepalived container

During deployment I got this error:

RUNNING HANDLER [loadbalancer : Stop master haproxy container]
ok: [192.168.66.143]

RUNNING HANDLER [loadbalancer : Stop master proxysql container]
ok: [192.168.66.143]

RUNNING HANDLER [loadbalancer : Stop master keepalived container]
fatal: [192.168.66.143]: FAILED! => changed=false
  msg: 'No such container: keepalived to stop'

Looks like we forgot to allow keepalived to not be present.

Change-Id: I720c719a6a6b35c5c2d5b5ee59b48349e58bac82
This commit is contained in:
Marcin Juszkiewicz 2022-08-05 14:04:47 +02:00
parent da214b74a9
commit f6a1e60731

View File

@ -219,6 +219,7 @@
action: "stop_container"
common_options: "{{ docker_common_options }}"
name: "keepalived"
ignore_missing: true
when:
- kolla_action != "config"
- groups.kolla_ha_is_master_True is defined