mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor changes
This commit is contained in:
parent
d1ff8e2dca
commit
c43beef258
3 changed files with 9 additions and 10 deletions
|
@ -627,14 +627,14 @@ Example ssh config file (~/.ssh/config)
|
|||
Example Ansible inventory file
|
||||
|
||||
.. code-block:: ini
|
||||
[junos]
|
||||
junos
|
||||
[junos]
|
||||
junos
|
||||
|
||||
[junos:vars]
|
||||
ansible_connection=netconf
|
||||
ansible_network_os=junos
|
||||
ansible_user=myuser
|
||||
ansible_ssh_pass=!vault...
|
||||
[junos:vars]
|
||||
ansible_connection=netconf
|
||||
ansible_network_os=junos
|
||||
ansible_user=myuser
|
||||
ansible_ssh_pass=!vault...
|
||||
|
||||
.. note:: Using ``ProxyCommand`` with passwords via variables
|
||||
|
||||
|
|
|
@ -1640,5 +1640,5 @@ NETCONF_SSH_CONFIG:
|
|||
ini:
|
||||
- {key: ssh_config, section: netconf_connection}
|
||||
yaml: {key: netconf_connection.ssh_config}
|
||||
default: None
|
||||
default: null
|
||||
...
|
||||
|
|
|
@ -153,7 +153,6 @@ options:
|
|||
env:
|
||||
- name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT
|
||||
netconf_ssh_config:
|
||||
default: None
|
||||
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,
|
||||
|
@ -203,7 +202,7 @@ NETWORK_OS_DEVICE_PARAM_MAP = {
|
|||
"ce": "huawei"
|
||||
}
|
||||
|
||||
import q
|
||||
|
||||
class Connection(NetworkConnectionBase):
|
||||
"""NetConf connections"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue