]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mds: port pre_requisite task to use new ceph version facts
authorAlfredo Deza <adeza@redhat.com>
Wed, 27 Apr 2016 14:39:57 +0000 (10:39 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 4 May 2016 18:59:53 +0000 (14:59 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
roles/ceph-mds/tasks/pre_requisite.yml

index 813d5a306192d6fab251f36d81bbbaaf524db07b..be9c0478ed937cb834fb5a30217a5db796c29809 100644 (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 }}
   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:
   changed_when: false
   when:
     ansible_distribution != "Ubuntu" and
-    is_ceph_infernalis
+    is_after_hammer