Skip to content

Commit 11691ff

Browse files
authored
UnixPB : Install LibFFI6 On Ubuntu 20/22 on s390x (#2831)
* Update Ubuntu.yml * Fix when clauses for libffi6 installation * Linter fixes * Linter fixes.
1 parent b691986 commit 11691ff

File tree

1 file changed

+17
-0
lines changed
  • ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,23 @@
111111
when:
112112
- ansible_distribution_major_version == "18"
113113

114+
- name: Download LibFFI6 v3.2.1_8 For Ubuntu 20 or 22 on S390X
115+
get_url:
116+
url: https://mirrors.mit.edu/ubuntu-ports/pool/main/libf/libffi/libffi6_3.2.1-8_s390x.deb
117+
dest: /tmp/libffi6_3.2.1-8_s390x.deb
118+
force: no
119+
mode: 0755
120+
checksum: 05e456a2e8ad9f20db846ccb96c483235c3243e27025c3e8e8e358411fd48be9
121+
when:
122+
- (ansible_distribution_major_version == "20" and ansible_architecture == "s390x") or
123+
(ansible_distribution_major_version == "22" and ansible_architecture == "s390x")
124+
125+
- name: Install LibFFI6 v3.2.1_8 For Ubuntu 20 or 22 on S390X
126+
apt: deb="/tmp/libffi6_3.2.1-8_s390x.deb"
127+
when:
128+
- (ansible_distribution_major_version == "20" and ansible_architecture == "s390x") or
129+
(ansible_distribution_major_version == "22" and ansible_architecture == "s390x")
130+
114131
####################
115132
# Set default Java #
116133
####################

0 commit comments

Comments
 (0)