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 <gabrioux@redhat.com>
(cherry picked from commit 7664da58da)
pull/7346/head
Guillaume Abrioux 2022-10-14 19:33:26 +02:00
parent b4c9112591
commit e34a58b541
1 changed files with 1 additions and 1 deletions

View File

@ -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