From: Alfredo Deza Date: Wed, 27 Apr 2016 14:48:46 +0000 (-0400) Subject: ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts X-Git-Tag: v1.0.6~156^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=04a2974af1b58e30f714d5fb7aae2704628664cd;p=ceph-ansible.git ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts Signed-off-by: Alfredo Deza --- diff --git a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml index cf2c47fb5..92a47ccc4 100644 --- a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml +++ b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml @@ -12,7 +12,7 @@ changed_when: false when: 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) file: @@ -23,7 +23,7 @@ failed_when: false when: 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) service: @@ -33,4 +33,4 @@ changed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer