mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Update ssh_config to accept file path
This commit is contained in:
parent
fa8b07e452
commit
d1ff8e2dca
3 changed files with 19 additions and 14 deletions
|
@ -604,11 +604,14 @@ Enabling jump host setting
|
|||
--------------------------
|
||||
|
||||
Bastion/jump host with netconf connection can be enable using
|
||||
- Setting Ansible variable``ansible_netconf_ssh_config`` or
|
||||
- Setting environment variable ``ANSIBLE_NETCONF_SSH_CONFIG`` or
|
||||
- Setting ``ssh_config=Ture`` under ``netconf_connection`` section in ansible configuration file
|
||||
- Setting Ansible variable``ansible_netconf_ssh_config`` either to ``True`` or custom ssh config file path
|
||||
- Setting environment variable ``ANSIBLE_NETCONF_SSH_CONFIG`` to ``True`` or custom ssh config file path
|
||||
- Setting ``ssh_config = 1`` or ``ssh_config = <ssh-file-path>``under ``netconf_connection`` section
|
||||
|
||||
The ssh config file (~/.ssh/config) should have the correct proxycommand and required ssh configuration variables
|
||||
If the configuration variable is set to 1 the proxycommand and other ssh variables are read from
|
||||
default ssh config file (~/.ssh/config).
|
||||
If the configuration variable is set to file path the proxycommand and other ssh variables are read
|
||||
from the given custom ssh file path
|
||||
|
||||
Example ssh config file (~/.ssh/config)
|
||||
---------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue