From: Sébastien Han Date: Tue, 17 Apr 2018 13:59:52 +0000 (+0200) Subject: rhcs: re-add apt-pining X-Git-Tag: v3.1.0beta7~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a98885a71ec63ff129d7001301a0323bfaadad8a;p=ceph-ansible.git rhcs: re-add apt-pining 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 --- 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: