]> git.apps.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 20:31:14 +0000 (20:31 +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>
infrastructure-playbooks/purge-cluster.yml

index aa7a6e365c22b1ea8f88c5a1f92cbcfde9a6d314..42ea3ea8b056435c814aa1f6802e67e7f7161cba 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