From: Alfredo Deza Date: Wed, 27 Apr 2016 14:39:57 +0000 (-0400) Subject: ceph-mds: port pre_requisite task to use new ceph version facts X-Git-Tag: ceph-ansible-1.0.5-33~61 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbda49cfc4508409068937df29a316fe8abcf203;p=ceph-ansible.git ceph-mds: port pre_requisite task to use new ceph version facts Signed-off-by: Alfredo Deza --- diff --git a/roles/ceph-mds/tasks/pre_requisite.yml b/roles/ceph-mds/tasks/pre_requisite.yml index 813d5a306..be9c0478e 100644 --- a/roles/ceph-mds/tasks/pre_requisite.yml +++ b/roles/ceph-mds/tasks/pre_requisite.yml @@ -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