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>
pull/7336/head
Guillaume Abrioux 2022-10-17 10:20:21 +02:00
parent 7664da58da
commit 09b8f7b2ea
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