Commit ed6d03c 1 parent 341a45c commit ed6d03c Copy full SHA for ed6d03c
File tree 1 file changed +5
-2
lines changed
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/GIT_Source/tasks
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 42
42
- (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.15', operator='lt'))
43
43
- ansible_distribution != "FreeBSD"
44
44
- ansible_distribution != "CentOS" or ansible_distribution_major_version | int != 6
45
+ - ansible_distribution != "RedHat" or ansible_distribution_major_version | int != 6
45
46
tags : git_source
46
47
47
48
- name : Download git source for CentOS 6
50
51
warn : false
51
52
when :
52
53
- (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.15', operator='lt'))
53
- - ansible_distribution == "CentOS" and ansible_distribution_major_version | int == 6
54
+ - (ansible_distribution == "CentOS" or ansible_distribution == "RedHat")
55
+ - ansible_distribution_major_version | int == 6
54
56
tags : git_source
55
57
56
58
- name : Verify checksum for CentOS 6 Git Source download ...
59
61
failed_when : " '107116489f10b758b51af1c5dbdb9a274917b0fb67dc8eaefcdabc7bc3eb3e6a' not in checksum_result.stdout"
60
62
when :
61
63
- (git_installed.rc != 0 ) or (git_installed.rc == 0 and git_version.stdout is version_compare('2.15', operator='lt'))
62
- - ansible_distribution == "CentOS" and ansible_distribution_major_version | int == 6
64
+ - (ansible_distribution == "CentOS" or ansible_distribution == "RedHat")
65
+ - ansible_distribution_major_version | int == 6
63
66
tags : git_source
64
67
65
68
- name : Extract git source
You can’t perform that action at this time.
0 commit comments