-
Notifications
You must be signed in to change notification settings - Fork 232
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
Unable to connect to BIG IP device using F5 module #2426
Comments
Hi @corpslave69, By default it's going to use port 443 to reach out API endpoint as explained here https://clouddocs.f5.com/products/orchestration/ansible/devel/modules/bigip_command_module.html#bigip-command-module-3 on transport setup under provider. You can specify cli transport in provider like the following:
|
Thanks @pgouband ! That resolved my issue but now I'm getting this:
And I've verified that this device is reachable from the control node (My PC) and it's IP is resolvable. Also I am able to SSH to this device using username and password. (I'd also like to note that I've not set up SSH keypair with this device and the SSH login is done through keyboard interactive mode.) Also is there any way I can add this |
Hi @corpslave69, I'm doing some test with CLI transport but I'm facing a different issue. Also, regarding ansible_ssh_common_args='-o StrictHostKeyChecking=no', this can be added to inventory. |
Hi @corpslave69, We did some tests with success. network_cli should be set:
also host file should look like:
|
Playbook: main.yml
Inventory:
I'm unable to connect to the BIG IP device using SSH. When I run this playbook, I receive this error:
Why is it trying to connect via HTTP instead of SSH when I have specified connection: local?
The text was updated successfully, but these errors were encountered: