-
Notifications
You must be signed in to change notification settings - Fork 857
Execute java version check in check mode #527
Execute java version check in check mode #527
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
Does this change allow you to run check-mode successfully? Your comment sounds like you meant to set |
jenkins test this please |
@Crazybus thank you for your message and added the results in my local environment.
And below are results in my environment. elastic/master branch
katsukamaru:java-version-check-in-check-mode branch
In katsukamaru:java-version-check-in-check-mode branch actually executes the command and returns ok. |
I think you meant I just had a look at the ansible check mode docs and it looks like I got it around backwards.
Pretty confusing actually, but it means that your change does look good then! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Only thing still needed is to sign the CLA agreement and then this is ready to be merged.
You are right. I fixed my comment I signed the CLA and seem to be passed all checks. |
Thanks for your contribution @katsukamaru and teaching me how the check_mode actually works :D |
This PR is related to this issue.
#525
This problem is happened in --check mode, because in check mode ignored test for java_full_path and does not register it.
So this PR changed to execute in check mode and register java_full_path.