diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/GIT_Source/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/GIT_Source/tasks/main.yml index 07414a8a6c..b69cef17a4 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/GIT_Source/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/GIT_Source/tasks/main.yml @@ -30,10 +30,10 @@ - name: Download git source get_url: - url: https://www.kernel.org/pub/software/scm/git/git-2.39.0.tar.xz - dest: /tmp/git-2.39.0.tar.xz + url: https://www.kernel.org/pub/software/scm/git/git-2.41.0.tar.xz + dest: /tmp/git-2.41.0.tar.xz mode: 0440 - checksum: sha256:ba199b13fb5a99ca3dec917b0bd736bc0eb5a9df87737d435eddfdf10d69265b + checksum: sha256:e748bafd424cfe80b212cbc6f1bbccc3a47d4862fb1eb7988877750478568040 validate_certs: false retries: 3 delay: 5 @@ -46,7 +46,7 @@ - name: Extract git source unarchive: - src: /tmp/git-2.39.0.tar.xz + src: /tmp/git-2.41.0.tar.xz dest: /tmp/ extra_opts: - --no-same-owner @@ -65,7 +65,7 @@ tags: git_source - name: Compile and install git from source on RHEL/CentOS6 - shell: cd /tmp/git-2.39.0 && ./configure --with-curl={{ curl_install_dir.stdout }} --prefix=/usr/local --without-tcltk && make clean && make -j {{ ansible_processor_vcpus }} && make install + shell: cd /tmp/git-2.41.0 && ./configure --with-curl={{ curl_install_dir.stdout }} --prefix=/usr/local --without-tcltk && make clean && make -j {{ ansible_processor_vcpus }} && make install become: yes when: - (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.31', operator='lt')) @@ -74,7 +74,7 @@ tags: git_source - name: Compile and install git from source on everything else - shell: cd /tmp/git-2.39.0 && ./configure --prefix=/usr/local --without-tcltk && make clean && make -j {{ ansible_processor_vcpus }} && make install + shell: cd /tmp/git-2.41.0 && ./configure --prefix=/usr/local --without-tcltk && make clean && make -j {{ ansible_processor_vcpus }} && make install become: yes when: - (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.31', operator='lt')) @@ -84,7 +84,7 @@ tags: git_source - name: Compile and install git from source on s390x - shell: cd /tmp/git-2.39.0 && ./configure --prefix=/usr/local --without-tcltk && make -j {{ ansible_processor_cores }} && make install + shell: cd /tmp/git-2.41.0 && ./configure --prefix=/usr/local --without-tcltk && make -j {{ ansible_processor_cores }} && make install become: yes when: - (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.31', operator='lt')) @@ -121,7 +121,7 @@ path: "{{ item }}" state: absent with_items: - - /tmp/git-2.39.0 - - /tmp/git-2.39.0.tar.xz + - /tmp/git-2.41.0 + - /tmp/git-2.41.0.tar.xz failed_when: false tags: git_source