update: remove rbdmirror legacy task

This task is no longer needed for next release.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3748/head
Guillaume Abrioux 2019-03-21 09:00:02 +01:00 committed by Dimitri Savineau
parent 0ea0adf039
commit 45ba90c169
1 changed files with 1 additions and 11 deletions

View File

@ -608,22 +608,12 @@
serial: 1 serial: 1
become: True become: True
tasks: tasks:
# NOTE(leseb): these tasks have a 'failed_when: false' - name: stop ceph rbd mirror
# in case we run before luminous or after
- name: stop ceph rbd mirror before luminous
systemd:
name: "ceph-rbd-mirror@{{ ceph_rbd_mirror_local_user }}"
state: stopped
enabled: no
failed_when: false
- name: stop ceph rbd mirror for and after luminous
systemd: systemd:
name: "ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}" name: "ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}"
state: stopped state: stopped
enabled: no enabled: no
masked: yes masked: yes
failed_when: false
- import_role: - import_role:
name: ceph-defaults name: ceph-defaults