]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: remove ceph_stable repo on dev
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 9 Apr 2019 13:44:27 +0000 (09:44 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 29 Aug 2019 18:05:13 +0000 (14:05 -0400)
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 <dsavinea@redhat.com>
roles/ceph-common/tasks/installs/redhat_dev_repository.yml

index dc1a5394f1085a114e17346f3a0d866c2d37ce5f..2b767e9291ec933e3ff665f6b1f38e9e1fe9c8a3 100644 (file)
     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