From: karan singh Date: Thu, 2 Jun 2016 10:08:19 +0000 (+0300) Subject: Fix for #819 X-Git-Tag: v1.0.6~98^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a55624a6762da6cca483e6fe2de6ef4ad9c55405;p=ceph-ansible.git Fix for #819 This commit removes /etc/yum.repos.d/rh_storage.repo file for RedHat OS with RHCS ISO install during cluster purge --- diff --git a/purge-cluster.yml b/purge-cluster.yml index 0ea271103..fe45002f2 100644 --- a/purge-cluster.yml +++ b/purge-cluster.yml @@ -421,3 +421,11 @@ 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