Update ssh_config to accept file path

This commit is contained in:
Ganesh B. Nalawade
2018-07-04 11:37:35 +05:30
parent fa8b07e452
commit d1ff8e2dca
3 changed files with 19 additions and 14 deletions

View File

@@ -1633,11 +1633,12 @@ YAML_FILENAME_EXTENSIONS:
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).
description: This variable is used to enable bastion/jump host with netconf connection. If set to True the bastion/jump
host ssh settings should be present in ~/.ssh/config file, alternatively it can be set
to custom ssh configuration file path to read the bastion/jump host settings.
env: [{name: ANSIBLE_NETCONF_SSH_CONFIG}]
ini:
- {key: ssh_config, section: netconf_connection}
yaml: {key: netconf_connection.ssh_config}
type: boolean
default: None
...