We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8cd549 commit 4e0a7bfCopy full SHA for 4e0a7bf
ansible/roles/java-base/tasks/main.yml
@@ -45,12 +45,9 @@
45
dest: /home/iojs
46
tags: java
47
48
-- name: create symlink
+- name: add jdk to PATH
49
when: os in "ubuntu1404" and arch == "ppc64"
50
- file:
51
- src: /home/iojs/jdk8u144-b01
52
- dest: /home/iojs/jkd
53
- state: link
+ shell: grep -s -q "export PATH=/home/iojs/jdk8u144-b01/bin:\$PATH" /home/iojs/.profile || echo "export PATH=/home/iojs/jdk8u144-b01/bin:\$PATH" >> /home/iojs/.profile
54
55
56
# if this fails you want to check in vars/main.yml and add package name
0 commit comments