From a98885a71ec63ff129d7001301a0323bfaadad8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Tue, 17 Apr 2018 15:59:52 +0200 Subject: [PATCH] rhcs: re-add apt-pining MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When installing rhcs on Debian systems the red hat repos must have the highest priority so we avoid packages conflicts and install the rhcs version. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1565850 Signed-off-by: Sébastien Han --- .../ceph-common/tasks/installs/debian_rhcs_repository.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/ceph-common/tasks/installs/debian_rhcs_repository.yml b/roles/ceph-common/tasks/installs/debian_rhcs_repository.yml index 5bf4418b2..f381be077 100644 --- a/roles/ceph-common/tasks/installs/debian_rhcs_repository.yml +++ b/roles/ceph-common/tasks/installs/debian_rhcs_repository.yml @@ -1,4 +1,12 @@ --- +- name: set apt pinning for red hat ceph storage + template: + src: "{{ role_path }}/templates/rhcs.pref.j2" + dest: /etc/apt/preferences.d/rhcs.pref + owner: root + group: root + mode: 0644 + - name: include prerequisite_rhcs_iso_install_debian.yml include: prerequisite_rhcs_iso_install_debian.yml when: -- 2.39.5