mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Allow delegate_to if transport is not cli (#29945)
Fixes #29060 Allow delegate_to if transport is either nxapi or eapi. Persistent connection uses `cli` transport and create a local socket on control node. Hence delegate_to is not allowed for `cli` transport. However as `nxapi` and `eapi` transport does not use persistent connection it is possible to use delegate_to in this case.
This commit is contained in:
parent
b02937f3c3
commit
530988666a
3 changed files with 12 additions and 12 deletions
|
@ -213,10 +213,10 @@ Will result in:
|
|||
delegate_to vs ProxyCommand
|
||||
---------------------------
|
||||
|
||||
The new connection framework for Network Modules in Ansible 2.3 no longer supports the use of the
|
||||
``delegate_to`` directive. In order to use a bastion or intermediate jump host
|
||||
to connect to network devices, network modules now support the use of
|
||||
``ProxyCommand``.
|
||||
The new connection framework for Network Modules in Ansible 2.3 that uses ``cli`` transport
|
||||
no longer supports the use of the ``delegate_to`` directive.
|
||||
In order to use a bastion or intermediate jump host to connect to network devices over ``cli``
|
||||
transport, network modules now support the use of ``ProxyCommand``.
|
||||
|
||||
To use ``ProxyCommand`` configure the proxy settings in the Ansible inventory
|
||||
file to specify the proxy host.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue