From: Dimitri Savineau Date: Tue, 9 Apr 2019 13:44:27 +0000 (-0400) Subject: ceph-common: remove ceph_stable repo on dev X-Git-Tag: v5.0.0alpha1~131 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=65089a7fc3b64ce5cd430fc57385ababd8e90a8a;p=ceph-ansible.git ceph-common: remove ceph_stable repo on dev When upgrading from stable to devel release with redhat community packages, the rpm packages are not updated due to priority introduced via a7b1e35 (starting nautilus). We need to remove the ceph stable repositories when configuring the dev repositories. Signed-off-by: Dimitri Savineau --- diff --git a/roles/ceph-common/tasks/installs/redhat_dev_repository.yml b/roles/ceph-common/tasks/installs/redhat_dev_repository.yml index dc1a5394f..2b767e929 100644 --- a/roles/ceph-common/tasks/installs/redhat_dev_repository.yml +++ b/roles/ceph-common/tasks/installs/redhat_dev_repository.yml @@ -13,3 +13,12 @@ owner: root group: root backup: yes + +- name: remove ceph_stable repositories + yum_repository: + name: '{{ item }}' + file: ceph_stable + state: absent + with_items: + - ceph_stable + - ceph_stable_noarch