-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
ask_pass should be forced to false if connection=local #3720
Comments
This sounds reasonable actually, I forgot it was passing -c local so should be easy enough to detect. |
A couple thoughts:
Thanks! |
Yes correct, the very first A workaround (for people getting here through google):
similar to |
This patch fixes it:
|
Can you please submit a pull request for this? That is how we like to take patches and can make sure they are attributed to you. Thanks! |
I've had this problem with
ansible-pull
which started failing when it picked up aask_pass=True
. It keeps asking for a password.Looks like:
will still ask for a password even though a "-c local" is given at the command line.
I don't have a patch, but I imagine it to be two easy if's if that helps.
Cheers
The text was updated successfully, but these errors were encountered: