Minor changes
parent
d1ff8e2dca
commit
c43beef258
|
@ -627,14 +627,14 @@ Example ssh config file (~/.ssh/config)
|
||||||
Example Ansible inventory file
|
Example Ansible inventory file
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
[junos]
|
[junos]
|
||||||
junos
|
junos
|
||||||
|
|
||||||
[junos:vars]
|
[junos:vars]
|
||||||
ansible_connection=netconf
|
ansible_connection=netconf
|
||||||
ansible_network_os=junos
|
ansible_network_os=junos
|
||||||
ansible_user=myuser
|
ansible_user=myuser
|
||||||
ansible_ssh_pass=!vault...
|
ansible_ssh_pass=!vault...
|
||||||
|
|
||||||
.. note:: Using ``ProxyCommand`` with passwords via variables
|
.. note:: Using ``ProxyCommand`` with passwords via variables
|
||||||
|
|
||||||
|
|
|
@ -1640,5 +1640,5 @@ NETCONF_SSH_CONFIG:
|
||||||
ini:
|
ini:
|
||||||
- {key: ssh_config, section: netconf_connection}
|
- {key: ssh_config, section: netconf_connection}
|
||||||
yaml: {key: netconf_connection.ssh_config}
|
yaml: {key: netconf_connection.ssh_config}
|
||||||
default: None
|
default: null
|
||||||
...
|
...
|
||||||
|
|
|
@ -153,7 +153,6 @@ options:
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT
|
- name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT
|
||||||
netconf_ssh_config:
|
netconf_ssh_config:
|
||||||
default: None
|
|
||||||
description:
|
description:
|
||||||
- This variable is used to enable bastion/jump host with netconf connection. If set to
|
- 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,
|
True the bastion/jump host ssh settings should be present in ~/.ssh/config file,
|
||||||
|
@ -203,7 +202,7 @@ NETWORK_OS_DEVICE_PARAM_MAP = {
|
||||||
"ce": "huawei"
|
"ce": "huawei"
|
||||||
}
|
}
|
||||||
|
|
||||||
import q
|
|
||||||
class Connection(NetworkConnectionBase):
|
class Connection(NetworkConnectionBase):
|
||||||
"""NetConf connections"""
|
"""NetConf connections"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue