]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge: fix rbd mirror purge
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Mar 2019 15:47:36 +0000 (16:47 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 1 Mar 2019 22:16:19 +0000 (22:16 +0000)
as of b70d54ac809a92cd88e39e3efa7ed3fee864a866 the service launched isn't
ceph-rbd-mirror@admin.service.

it's now `ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a9153084778d5bc219d33e3769485cbea8d7a6a9)

infrastructure-playbooks/purge-cluster.yml

index e519dad39bee8af3188482da7516f82118cf4c13..02f7f54134daae19245f42e1600ebc0a1518b855 100644 (file)
 
   - name: stop ceph rbd mirror with systemd
     service:
-      name: ceph-rbd-mirror@admin.service
+      name: "ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}"
       state: stopped
     failed_when: false