mirror of https://github.com/ceph/ceph-ansible.git
ceph-mds: port pre_requisite task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/737/head
parent
3af17a3137
commit
3c82c7fd16
|
@ -87,7 +87,7 @@
|
|||
failed_when: false
|
||||
when:
|
||||
ansible_distribution != "Ubuntu" and
|
||||
is_ceph_infernalis
|
||||
is_after_hammer
|
||||
|
||||
- name: start and add that the metadata service to the init sequence (ubuntu)
|
||||
command: initctl emit ceph-mds cluster={{ cluster }} id={{ mds_name }}
|
||||
|
@ -104,7 +104,7 @@
|
|||
changed_when: false
|
||||
when:
|
||||
ansible_distribution != "Ubuntu" and
|
||||
not is_ceph_infernalis
|
||||
is_before_infernalis
|
||||
|
||||
- name: start and add that the metadata service to the init sequence (for or after infernalis)
|
||||
service:
|
||||
|
@ -114,4 +114,4 @@
|
|||
changed_when: false
|
||||
when:
|
||||
ansible_distribution != "Ubuntu" and
|
||||
is_ceph_infernalis
|
||||
is_after_hammer
|
||||
|
|
Loading…
Reference in New Issue