]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
This change address radosgw not getting started on CentOS 433/head
authorK.C. Wong <kcwong@verseon.com>
Fri, 6 Nov 2015 02:06:41 +0000 (18:06 -0800)
committerK.C. Wong <kcwong@verseon.com>
Fri, 6 Nov 2015 02:06:41 +0000 (18:06 -0800)
* The explicit check of 'ansible_distribution' being 'RedHat'
  will not work on CentOS hosts.
* Check the value of 'ansible_os_family' instead.

roles/ceph-rgw/tasks/start_radosgw.yml

index b5294df451445548bfe2adba12819e3264e02b04..cc5d1f694adb13241eb354861fb91ed786c0fbf3 100644 (file)
@@ -29,4 +29,4 @@
     name: ceph-radosgw
     state: started
     enabled: yes
-  when: ansible_distribution == 'RedHat'
+  when: ansible_os_family == 'RedHat'