-
Notifications
You must be signed in to change notification settings - Fork 111
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
netconf_get fails with '''known_hosts_lookup' is not defined" #15
Comments
It seems that this issue is linked with the fact that I use |
If I leave in
That is very strange because the password for that key has already been entered with the previous successful run of the This seems to demonstrate that |
The symptom has changed.
Running the following playbook over a CSR-1kv 16.11.1b:
leads to:
|
The same issue has been opened with more details here. |
SUMMARY
When using the
netconf
connection type, ansible tries to connect with SSH using the user's private key(s) even whenansible_private_key_file
is set to another specific file.No such issue when using the
network_cli
connection type alongsideansible_ssh_private_key_file
.ISSUE TYPE
COMPONENT NAME
netconf
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Both plays should use the same SSH private key.
ACTUAL RESULTS
private_key_file
.private_key_file
and requests the password for another SSH private key (~/.ssh/id_rsa).The text was updated successfully, but these errors were encountered: