]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix for #819 838/head
authorkaran singh <karasing@redhat.com>
Thu, 2 Jun 2016 10:08:19 +0000 (13:08 +0300)
committerkaran singh <karasing@redhat.com>
Thu, 2 Jun 2016 10:08:19 +0000 (13:08 +0300)
This commit removes /etc/yum.repos.d/rh_storage.repo file
for RedHat OS with RHCS ISO install during cluster purge

purge-cluster.yml

index 0ea271103b27988f7da3adc626e60449289cb27b..fe45002f2feb75abeb11852565f6c1187750a6f1 100644 (file)
     shell: apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
     when:
       ansible_pkg_mgr == 'apt'
+
+  - name: purge rh_storage.repo file in /etc/yum.repos.d
+    file:
+      path: /etc/yum.repos.d/rh_storage.repo
+      state: absent
+    when:
+      ansible_os_family == 'RedHat' and
+      ceph_stable_rh_storage_iso_install