Skip to content

Commit 45c94e3

Browse files
author
Shaun Wharton
committed
Corrected JAVA_HOME Template for 32bit JDK.
1 parent 906d896 commit 45c94e3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tasks/jdk_x86.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@
3333
- java
3434

3535
# so that we always have JAVA_HOME set for legacy components
36+
# TODO: Remove this in favor of /etc/java/java.conf or role-specific settings
3637
- name: ensure /etc/profile.d/java.sh exists
37-
copy:
38-
content: "/usr/java/default\n"
38+
template:
39+
src: 'etc.profile.d.java.sh.j2'
3940
dest: /etc/profile.d/java.sh
4041
owner: root
4142
group: root
4243
mode: 0644
43-
tags: ['java']
44+
tags: ['java']

0 commit comments

Comments
 (0)