EL7 systems have a very ancient git installed. IUS provides an up to
date version that replaces the upstream version.
Issue: RELENG-987
Change-Id: I41a02037f4d5326ba64c05f081fc5f1aa8fd6e41
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
- 'install-base-pkgs-{{ansible_distribution}}.yaml'
- 'install-base-pkgs-{{ansible_os_family}}.yaml'
+ - name: Switch to git2u
+ shell: yum -y replace git --replace-with git2u
+ when: ansible_os_family == 'RedHat'
+ become: yes
+
- name: Allow jenkins user sudo access
copy:
dest: /etc/sudoers.d/89-jenkins-user-defaults
- '@base'
- '@development'
- yum-utils
+ - yum-plugin-replace
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ - https://centos7.iuscommunity.org/ius-release.rpm
loop_control:
loop_var: pkg
become: yes