-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to the localhost fails silently, resulting in the wrong return code. #38
Comments
By the way, one of the host in |
I don't see an error on your side, nor one on Suitable's. I tried your script on some of my own hosts and the results are correct (some 1s, some 0s, for a folder that only exists on some hosts). You can try and pass ssh foo test -d /foo/bar && echo 'exists' || echo 'missing' Because ultimately that's what happens behind the scenes. |
Oh also, can you try to instantiate the api with |
HI 'Moss', After applying And I found So it is basically my problem, but without applying |
Definitely not, I'll edit the title of this and leave it open as a bug. |
HI, I am using
python 3.7.4 suitable = "^0.16.0" ansible 2.8.5
And I found that the return code is not correct when there are multi hosts:
say I would like to check if a directory exists on every host:
Am I using it in a wrong manner? Or it is a bug?
The text was updated successfully, but these errors were encountered: