Only use IUS for git2u 84/61784/4
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 19 Sep 2019 18:40:21 +0000 (14:40 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 19 Sep 2019 18:54:52 +0000 (14:54 -0400)
Limit IUS repo ro git2u and yum replace plugin
Something about the order of the yum package install
causes yum to try to pull down python36u

This can be reproduced in docker with
https://gist.github.com/Aricg/73a872fcaaa5eae1302d71eb2237d208

ISSUE: IT-17631
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I65a8b388340e28ceea45d6b3ad33bcc84f31e7ac

provision/install-base-pkgs-RedHat.yaml

index 4595d06..266c394 100644 (file)
     state: latest
   become: true
 
+- name: Only use IUS for git2u
+  lineinfile:
+    path: /etc/yum.repos.d/ius.repo
+    line: "includepkgs=git2u*,yum-plugin-replace"
+    insertafter: "gpgkey.*"
+  become: true
+
 - name: Swap to git2u
   block:
     - name: Install yum-plugin-replace