switch-to-containers: ignore errors when stopping service

There might be cases where it can break idempotency.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 09b8f7b2ea)
pull/7346/head
Guillaume Abrioux 2022-10-17 10:20:21 +02:00
parent e34a58b541
commit f80232361b
1 changed files with 1 additions and 0 deletions

View File

@ -575,6 +575,7 @@
name: "{{ item.split('=')[1] }}"
state: stopped
enabled: no
ignore_errors: true
loop: "{{ rbdmirror_services.stdout_lines }}"
- name: remove old systemd unit files