From: Guillaume Abrioux Date: Mon, 17 Oct 2022 08:20:21 +0000 (+0200) Subject: switch-to-containers: ignore errors when stopping service X-Git-Tag: v4.0.70.19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3cca4087388eee525324293ba95ee8c6a0f5ead2;p=ceph-ansible.git switch-to-containers: ignore errors when stopping service There might be cases where it can break idempotency. Signed-off-by: Guillaume Abrioux (cherry picked from commit 09b8f7b2ea4deb35228adb948b50976ad1854870) --- diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index b245134d7..ac2b1bc00 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -569,6 +569,7 @@ name: "{{ item.split('=')[1] }}" state: stopped enabled: no + ignore_errors: true loop: "{{ rbdmirror_services.stdout_lines }}" - name: remove old systemd unit files