I receive the following error when I want to install java with your playbook
TASK [oracle-java : get JDK tarball (as RPM file)] ***************************** fatal: [host]: FAILED! => {"failed": true, "msg": "The conditional check '(jdk_info.stdout|from_json).not_found' failed. The error was: Unexpected templating type error occurred on ({% if (jdk_info.stdout|from_json).not_found %} True {% else %} False {% endif %}): expected string or buffer\n\nThe error appears to have been in '$PATH/oracle-java/tasks/main.yml': line 37, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- include: install.yml\n ^ here\n"}
Hello,
I receive the following error when I want to install java with your playbook
TASK [oracle-java : get JDK tarball (as RPM file)] ***************************** fatal: [host]: FAILED! => {"failed": true, "msg": "The conditional check '(jdk_info.stdout|from_json).not_found' failed. The error was: Unexpected templating type error occurred on ({% if (jdk_info.stdout|from_json).not_found %} True {% else %} False {% endif %}): expected string or buffer\n\nThe error appears to have been in '$PATH/oracle-java/tasks/main.yml': line 37, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- include: install.yml\n ^ here\n"}
CentOS 7.2.1511
Variables:
java_version: 8 java_set_javahome: true java_install_jce: true
Thanks, Stephan