Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnixPB: Temporarily fix CentOS6 Adoptopenjdk_install role #1913

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/Dockerfile.CentOS6
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN sed -i -e 's!mirrorlist!#mirrorlist!g' /etc/yum.repos.d/CentOS-Base.repo; \
./configure --enable-optimizations; \
make install; \
rm /usr/src/Python-3.6.10.tgz; \
pip3 install --upgrade pip; \
pip3 install ansible

COPY . /ansible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@
- adoptopenjdk_install
- skip_ansible_lint

# Currently not checking certs due to a CentOS6 error
# See: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1877
- name: Install latest release if one not already installed
unarchive:
src: https://api.adoptopenjdk.net/v3/binary/latest/{{ jdk_version }}/ga/linux/{{ api_architecture }}/jdk/{{ bootjdk }}/normal/adoptopenjdk?project=jdk
dest: /usr/lib/jvm
remote_src: yes
validate_certs: no
retries: 3
delay: 5
register: adoptopenjdk_download
Expand Down