ansible/lib/ansible
Ganesh Nalawade 654b9e2754
Add collection support with local for supported network platforms (#66302)
* Add collection support with local for supported network platforms

*  The legacy behavior of network action plugins using persistent
   the framework is to override the connection=local with the actual connection type (network_cli/netconf/httpapi) based
   on the value of transport option in provider.
*  After the actual connection plugin is identified try to load it from
   `ansible.netcommon` collection, if it fails load it from ansible
   core. This is done to work with Ansible 2.10 and also maintain backward compatibility for
   Ansible 2.9 version to ensure it works with network collections.
*  To support this need to pass collection_list value to connection
   plugins. As in case of connection=local it loads `persistent`
   connection within action plugin which in turn invokes `network_cli`
   or `netconf` connection. Similarly `network_cli` connection plugin invokes
   `terminal` and `cliconf plugins and `netconf` connection plugin invokes `netconf`
   `plugins` based on value on `ansible_network_os`.
*  Add deprecation warning for connection=local support and
   provider support for applicable platforms

* Fix CI failures
2020-01-13 09:49:55 +05:30
..
cli ansible-galaxy ignore empty server_list (#65986) 2020-01-09 14:24:36 -05:00
compat
config
errors
executor
galaxy
inventory
module_utils Add collection support with local for supported network platforms (#66302) 2020-01-13 09:49:55 +05:30
modules ec2_lc: Update example to use snapshot id (#66064) 2020-01-13 13:13:13 +10:00
parsing
playbook
plugins Add collection support with local for supported network platforms (#66302) 2020-01-13 09:49:55 +05:30
template
utils
vars
__init__.py
constants.py
context.py
release.py