Skip to content

Commit 01dc6d0

Browse files
committed
unixPB: Additional changes to allow use on CS10
Signed-off-by: Stewart X Addison <[email protected]>
1 parent 1b8c9b5 commit 01dc6d0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/CentOS.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979

8080
- name: Install additional build tools when NOT CentOS8+
8181
package: "name={{ item }} state=latest"
82-
with_items: "{{ Additional_Build_Tools_NOT_CentOS8_CentOS9Stream }}"
82+
with_items: "{{ Additional_Build_Tools_NOT_CentOS8plus }}"
8383
when:
84-
- ansible_distribution_major_version|int < 8
84+
- ansible_distribution_major_version | int < 8
8585
tags: build_tools
8686

8787
- name: Install additional test tools for CentOS 10+ e.g. weston
@@ -207,11 +207,12 @@
207207
- ansible_architecture == "x86_64" and ansible_distribution_major_version == "7"
208208
tags: build_tools
209209

210-
- name: Install additional build tools for CentOS on x86
210+
- name: Install additional build tools for CentOS on x86 for EL<10 (Not 32-bit support)
211211
package: "name={{ item }} state=latest"
212212
with_items: "{{ Additional_Build_Tools_CentOS_x86 }}"
213213
when:
214214
- ansible_architecture == "x86_64"
215+
- ansible_distribution_major_version | int < 10
215216
tags: build_tools
216217

217218
- name: Create symlink for /opt/rh/devtoolset-2/root/usr/bin/gcc to gcc

ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/vars/CentOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Additional_Build_Tools_CentOS8_Plus:
8282
- ccache
8383
- procps-ng
8484

85-
Additional_Build_Tools_NOT_CentOS8_CentOS9Stream:
85+
Additional_Build_Tools_NOT_CentOS8plus:
8686
- lbzip2
8787
- java-1.7.0-openjdk-devel
8888
- java-1.8.0-openjdk-devel

0 commit comments

Comments
 (0)