]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
subscription manager tasks should not run on debian systems
authorAndrew Schoen <aschoen@redhat.com>
Tue, 8 Mar 2016 20:56:23 +0000 (14:56 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 8 Mar 2016 20:56:23 +0000 (14:56 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-common/tasks/main.yml

index 98d42ad05aafa2402a312ff46edf73b2262839a5..57397e0b7dd824419d2cc5b44919b3ef58eb7353 100644 (file)
 - include: ./pre_requisites/prerequisite_rh_storage_iso_install.yml
   when:
     ceph_stable_rh_storage and
-    ceph_stable_rh_storage_iso_install
+    ceph_stable_rh_storage_iso_install and
+    ansible_os_family == "RedHat"
   tags:
     - package-install
 
 - include: ./pre_requisites/prerequisite_rh_storage_cdn_install.yml
   when:
     ceph_stable_rh_storage and
-    ceph_stable_rh_storage_cdn_install
+    ceph_stable_rh_storage_cdn_install and
+    ansible_os_family == "RedHat"
   tags:
     - package-install