William-Yeh/ansible-oracle-java

Error during role execution (ignored)

hrstoyanov opened this issue · 1 comments

Seeing the below error with the java role, I know it is ignored, still ....

TASK: [williamyeh.oracle-java | alternatives link for "jar"] ****************** 
changed: [localhost]

TASK: [williamyeh.oracle-java | alternatives link for "java_sdk"] ************* 
failed: [localhost] => {"cmd": "/usr/sbin/update-alternatives --install /usr/lib/jvm/java java_sdk /usr/java/default 50", "failed": true, "rc": 2}
stderr: update-alternatives: error: error creating symbolic link `/usr/lib/jvm/java.dpkg-tmp': No such file or directory

stdout: update-alternatives: using /usr/java/default to provide /usr/lib/jvm/java (java_sdk) in auto mode

msg: update-alternatives: error: error creating symbolic link `/usr/lib/jvm/java.dpkg-tmp': No such file or directory
...ignoring

TASK: [williamyeh.oracle-java | remove temporary downloaded files, if requested] *** 

Duplicated with #11