mirror of https://github.com/ceph/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 <gabrioux@redhat.com>
(cherry picked from commit 7664da58da
)
pull/7346/head
parent
b4c9112591
commit
e34a58b541
|
@ -566,7 +566,7 @@
|
||||||
become: true
|
become: true
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: check for ceph rbd mirror services
|
- 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
|
changed_when: false
|
||||||
register: rbdmirror_services
|
register: rbdmirror_services
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue