forked from ISTI-ansible-roles/ansible-roles
add task for jvm dir creation
This commit is contained in:
parent
3b06338f55
commit
b3f8f81e6c
|
@ -36,8 +36,12 @@
|
|||
tags: [ 'oracle_jdk', 'jdk' ]
|
||||
|
||||
- block:
|
||||
- name: Create jvm directory
|
||||
file: dest=/usr/lib/jvm state=directory
|
||||
when: '{{ jdk_use_tarfile }}'
|
||||
|
||||
- name: Install a custom version of Oracle JDK from a tar file
|
||||
unarchive: src={{ jdk_tarfile }} dest={{ jdk_java_home_prefix }} copy={{ jdk_copy_tarfile | default(omit) }} remote_src=yes
|
||||
unarchive: src={{ jdk_tarfile_path }} dest={{ jdk_java_home_prefix }} copy={{ jdk_copy_tarfile | default(omit) }} remote_src=yes
|
||||
when: '{{ jdk_use_tarfile }}'
|
||||
|
||||
- name: Set fact jdk_installed
|
||||
|
|
Loading…
Reference in New Issue