`--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
7664da58da56d871a9304ea6bec8d0e30ba9b02a)
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