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 Assign AWS Cloudwatch Metric Filter via Ansible (#59925) 2020-01-04 11:39:01 -07:00
errors Misc typo fixes (#66120) 2020-01-04 21:13:30 +05:30
executor Ensure that data within a tuple is marked as unsafe (#65918) 2020-01-07 08:41:37 -06:00
galaxy Don't remove trailing / on galaxy api URLS (#63294) 2020-01-08 15:25:40 -05:00
inventory inventory: Fail on non-existing limit file (#59758) 2019-12-12 09:09:40 +05:30
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 Add a representer for AnsibleUnsafeBytes (#62598) 2019-09-19 14:27:48 -04:00
playbook Check if task file is specified for import_tasks (#57572) 2019-12-24 10:26:32 +05:30
plugins Add collection support with local for supported network platforms (#66302) 2020-01-13 09:49:55 +05:30
template Ensure that data within a tuple is marked as unsafe (#65918) 2020-01-07 08:41:37 -06:00
utils Ensure that data within a tuple is marked as unsafe (#65918) 2020-01-07 08:41:37 -06:00
vars Track source of vars 2020-01-07 17:30:28 -08:00
__init__.py
constants.py Fix netconf plugin related to collections (#65718) 2019-12-20 12:25:59 +05:30
context.py
release.py Update release name for 2.10 2019-09-05 18:36:06 -07:00