From: Guillaume Abrioux Date: Fri, 14 Oct 2022 17:33:26 +0000 (+0200) Subject: switch-to-containers: fix rbd-mirror migration X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7664da58da56d871a9304ea6bec8d0e30ba9b02a;p=ceph-ansible.git switch-to-containers: fix rbd-mirror migration `--state=enabled` isn't a valid filter so the unit from the packaging never gets removed. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2134917 Signed-off-by: Guillaume Abrioux --- 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 6b248a08e..0ea46b6a6 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 @@ -566,7 +566,7 @@ become: true pre_tasks: - name: check for ceph rbd mirror services - command: systemctl show --no-pager --property=Id --state=enabled ceph-rbd-mirror@* # noqa 303 + command: systemctl show --no-pager --property=Id ceph-rbd-mirror@* # noqa 303 changed_when: false register: rbdmirror_services