]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
switch-to-containers: fix rbd-mirror migration
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 14 Oct 2022 17:33:26 +0000 (19:33 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Sat, 15 Oct 2022 05:07:47 +0000 (07:07 +0200)
`--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>
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml

index 6b248a08e29706d304b3ac519a56d4442998d65e..0ea46b6a68d1ced0b2fac05caed374aaec64b0c9 100644 (file)
   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