mirror of https://github.com/ceph/ceph-ansible.git
ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/737/head
parent
9d21a3c56c
commit
04a2974af1
|
@ -12,7 +12,7 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
ansible_distribution != "Ubuntu" and
|
||||||
not is_ceph_infernalis
|
is_before_infernalis
|
||||||
|
|
||||||
- name: enable systemd unit file for the rbd mirror service (for or after infernalis)
|
- name: enable systemd unit file for the rbd mirror service (for or after infernalis)
|
||||||
file:
|
file:
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
ansible_distribution != "Ubuntu" and
|
||||||
is_ceph_infernalis
|
is_after_hammer
|
||||||
|
|
||||||
- name: start and add that the rbd mirror service to the init sequence (for or after infernalis)
|
- name: start and add that the rbd mirror service to the init sequence (for or after infernalis)
|
||||||
service:
|
service:
|
||||||
|
@ -33,4 +33,4 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
ansible_distribution != "Ubuntu" and
|
ansible_distribution != "Ubuntu" and
|
||||||
is_ceph_infernalis
|
is_after_hammer
|
||||||
|
|
Loading…
Reference in New Issue