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
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