ansible-ei icon indicating copy to clipboard operation
ansible-ei copied to clipboard

JDK unzipping failure

Open VimukthiPerera opened this issue 5 years ago • 0 comments

Description: Sometimes the JDK archive name is different from the extracted folder name. Current Ansible scripts expect them to be the same.

Possible Fix

- name: Unzip JDK
  unarchive:
    src: /path/to/jdk.tar.gz
    dest: /path/to/extract/{{ jdk_name }}
    extra_opts: [--strip-components=1]

VimukthiPerera avatar Feb 05 '20 09:02 VimukthiPerera