Some of our jobs are failing, or at least having issues, due to not
having a recent enough version of git on the CentOS systems. Updating
the base recommended tooling to include a newer version of git on RHEL
systems should resolve this problem.
Issue: RELENG-2143
Change-Id: I2c690c94d0602b8790e37432ba2e24671e8cccb3
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
when: ansible_os_family == 'RedHat'
become: true
+- name: Swap to git2u
+ block:
+ - name: Install yum-plugin-replace
+ yum: name=yum-plugin-replace state=present update_cache=yes
+ - name: Gather rpm package facts
+ package_facts:
+ manager: auto
+ - name: Replace git with git2u
+ command: yum replace -y git --replace-with git2u
+ when: ansible_facts.packages['git'] is defined
+ when: ansible_os_family == 'RedHat'
+ become: true
+
- name: Install PlantUML
block:
- name: Create /opt/plantuml install directory
lf_recommended_tools_packages_distro:
- fedora-packager
- http://ftp.riken.jp/Linux/cern/centos/7/cern/x86_64/Packages/parallel-20150522-1.el7.cern.noarch.rpm
+ - https://centos7.iuscommunity.org/ius-release.rpm
- nc
- perl-Digest-SHA
- perl-ExtUtils-MakeMaker