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 a158d0d53b)
pull/7344/head
Guillaume Abrioux 2022-10-17 10:20:21 +02:00
parent 0a30a234af
commit 62f9804bd2
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