You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@TheUsefulNerd I think this particular issue is specific to Debian. As pointed out by @eric-maletras , the command line executed by Ansible in the playbook wildfly_systemd/tasks/systemd.yml is not working on Debian simply because the JDK is not installed in the same place.
To walk you through what needs to be done: copy one of the existing molecule scenario (default) an change the target system to Debian. Run the molecule scenario : it should failed because of the issue pointed out by @eric-maletras . Then you can externalise (into a variable) the path to the JDK home and use some logic to select this path based on the ansible_os_family value (so the current value for RedHat family or the one for Debian for the Debian family).
I hope this helps!
SUMMARY
Installation failed on wildfly install system d.
I think is on file 'wildfly_systemd/tasks/systemd.yml' lines 116-123
ISSUE TYPE
cmd": "set -o pipefail \nupdate-alternatives --query java | grep 'Value: ' | grep -o '/.*/jre'\n"
"msg": "non-zero return code", "rc": 1,
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: