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/7347/head
Guillaume Abrioux 2022-10-14 19:33:26 +02:00
parent 5a47840044
commit 37db27eefa
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,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