ceph-mds: port pre_requisite task to use new ceph version facts

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/737/head
Alfredo Deza 2016-04-27 10:39:57 -04:00
parent 3af17a3137
commit 3c82c7fd16
1 changed files with 3 additions and 3 deletions

View File

@ -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