Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix netconf guess_network_os to use ssh_config if supplied. #55199
When attempting to set up a connection using netconf, if the ansible_network_os is set to either nothing or
The guess consists of connecting to the target node and using the returned capabilities to try to determine which network_os should be use.
The initial connetion used to guess the network os ignores the ssh_config specified in ANSIBLE_NETCONF_SSH_CONFIG (or ansible.cfg)
As a result this initial connection will fail causing the play to fail.
This PR makes the following changes: