]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-rgw: port start_radosgw task to use new ceph version facts 737/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 27 Apr 2016 14:51:15 +0000 (10:51 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 27 Apr 2016 17:46:58 +0000 (13:46 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
roles/ceph-rgw/tasks/start_radosgw.yml

index 72b402fa6ff3e10777322fd3c4b81d771f5a139f..c0689ff3b21ccf23f474aa1358ccbec7e0b4ab71 100644 (file)
@@ -25,7 +25,7 @@
     enabled: yes
   when:
     ansible_os_family == 'RedHat' and
-    not is_ceph_infernalis
+    is_before_infernalis
 
 - name: enable systemd unit file for rgw instance (for or after infernalis)
   file:
@@ -36,7 +36,7 @@
   failed_when: false
   when:
     ansible_distribution != "Ubuntu" and
-    is_ceph_infernalis
+    is_after_hammer
 
 - name: start rgw on red hat (after infernalis)
   service:
@@ -45,4 +45,4 @@
     enabled: yes
   when:
     ansible_os_family == 'RedHat' and
-    is_ceph_infernalis
+    is_after_hammer