Add options for jumphost in netconf connetion

Fixes #37262
Fixes #36284

*  Updates options in netconf connection to enable
   bastion/jump host setting using configuration/enviornment
   varaibles.
*  Update troubleshooting docs from using bastion host with netconf
   connection
This commit is contained in:
Ganesh B. Nalawade
2018-07-03 23:54:26 +05:30
parent 08ddd202fb
commit 8d8d4b3d86
3 changed files with 59 additions and 1 deletions

View File

@@ -1632,4 +1632,12 @@ YAML_FILENAME_EXTENSIONS:
- section: defaults
key: yaml_valid_extensions
type: list
NETCONF_SSH_CONFIG:
description: This variable is used to enable bastion/jump host with netconf connection. The bastion/jump
host ssh settings should be present in ssh configuration file (~/.ssh/config).
env: [{name: ANSIBLE_NETCONF_SSH_CONFIG}]
ini:
- {key: ssh_config, section: netconf_connection}
yaml: {key: netconf_connection.ssh_config}
type: boolean
...