mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #2047 from ceph/enable_ceph-rbd-mirror.target
rbd-mirror: enable ceph-rbd-mirror.targetpull/2048/head
commit
7d4b3f9989
|
@ -26,6 +26,15 @@
|
||||||
when:
|
when:
|
||||||
- ceph_release_num[ceph_release] < ceph_release_num.luminous
|
- ceph_release_num[ceph_release] < ceph_release_num.luminous
|
||||||
|
|
||||||
|
- name: enable ceph-rbd-mirror.target on jewel
|
||||||
|
systemd:
|
||||||
|
name: "ceph-rbd-mirror.target"
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
changed_when: false
|
||||||
|
when:
|
||||||
|
- ceph_release_num[ceph_release] < ceph_release_num.luminous
|
||||||
|
|
||||||
- name: stop and remove the generic rbd-mirror service instance
|
- name: stop and remove the generic rbd-mirror service instance
|
||||||
service:
|
service:
|
||||||
name: "ceph-rbd-mirror@{{ ceph_rbd_mirror_local_user }}"
|
name: "ceph-rbd-mirror@{{ ceph_rbd_mirror_local_user }}"
|
||||||
|
|
Loading…
Reference in New Issue