community.general/lib/ansible/plugins/action
Adam Miller 80940a6b1c ensure copy action plugin returns an invocation in result (#41426)
* ensure copy action plugin returns an invocation in result

Fixes #18232

Previously the action plugin for copy, which runs operations on the
control host to orchestrate executing both local actions on the
control host and remote actions on the remote host, is not returning
invocation dict in the result dict, this happens here where the
return from _copy_file() is None

When force is True, the _execute_module() method is called, which
returns the dict containing the invocation key. This patch ensures
there is always an invocation key.

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix conditional, handle content no_log

Signed-off-by: Adam Miller <admiller@redhat.com>
2018-06-20 14:35:47 -04:00
..
__init__.py Group logic detecting user, ensure rsync_opts is a list if omitted. Fixes #40483 2018-05-22 11:00:54 -04:00
add_host.py add_host: check if name or hostname arg is provided 2018-02-12 15:24:45 -05:00
aireos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aireos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aruba.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aruba_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
asa.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
asa_config.py py2/py3 compat fix (#40614) 2018-05-24 15:13:22 -05:00
assemble.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
assert.py Adding success_msg to assert (#41048) 2018-06-14 11:34:04 -04:00
aws_s3.py Fix async for aws_s3 - fixes #40281 (#40826) 2018-06-07 15:09:22 -04:00
bigip.py Re-allow SSH due to broken delegation (#40978) 2018-06-01 08:55:50 -07:00
bigiq.py Re-allow SSH due to broken delegation (#40978) 2018-06-01 08:55:50 -07:00
ce.py Add cli and netconf ability from ansible itself for cloudengine ce modules (#41357) 2018-06-14 09:38:27 +05:30
ce_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ce_template.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
cnos.py Lenovo typofix (#40865) 2018-05-30 15:23:26 +05:30
cnos_config.py Lenovo typofix (#40865) 2018-05-30 15:23:26 +05:30
command.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
copy.py ensure copy action plugin returns an invocation in result (#41426) 2018-06-20 14:35:47 -04:00
debug.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos6.py Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555) 2018-05-08 12:06:37 -04:00
dellos6_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos9.py Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555) 2018-05-08 12:06:37 -04:00
dellos9_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos10.py Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555) 2018-05-08 12:06:37 -04:00
dellos10_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
edgeos_config.py EdgeOS module improvements (#39530) 2018-05-22 12:22:18 -04:00
enos.py Lenovo license update (#36840) 2018-03-06 18:02:46 +00:00
enos_config.py Lenovo typofix (#40865) 2018-05-30 15:23:26 +05:30
eos.py HTTP(S) API connection plugin (#39224) 2018-05-17 18:47:15 -04:00
eos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fail.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fetch.py fetch: set fail_on_missing: True as default as per docs (#36469) 2018-02-21 18:10:23 +10:00
fortios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
group_by.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
include_vars.py Fix name of action plugin in error message (#41665) 2018-06-19 01:21:38 +05:30
ios.py Pull persistent connection parameters via get_option (#39367) 2018-05-16 14:59:01 +02:00
ios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
iosxr.py Pull persistent connection parameters via get_option (#39367) 2018-05-16 14:59:01 +02:00
iosxr_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ironware.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ironware_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
junos.py Pull persistent connection parameters via get_option (#39367) 2018-05-16 14:59:01 +02:00
junos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_banner.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_base.py Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555) 2018-05-08 12:06:37 -04:00
net_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_get.py rename network_get network_put modules to net_get net_put (#40381) 2018-05-18 14:41:47 +05:30
net_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l2_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l3_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_linkagg.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_logging.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_ping.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_put.py net_put module: add default mode to copy binary files (#41476) 2018-06-20 16:02:49 +05:30
net_static_route.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_system.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_user.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vlan.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vrf.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
netconf_config.py netconf_config: support new src attribute (new Action Plugin) (#24337) 2017-05-11 18:43:44 +05:30
normal.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
nxos.py Update nxos_install_os module (#40102) 2018-05-29 21:07:57 +05:30
nxos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
onyx_config.py issue:38321 fix onyx_config module failed while using python = 3.5 (#38343) 2018-04-11 08:01:54 -06:00
ops_config.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
package.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
patch.py Fix the script and patch plugins tempfile ownership 2018-02-19 13:07:58 -08:00
pause.py Fix ctrl+c in pause module and add tests (#40134) 2018-05-21 10:04:43 -04:00
raw.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
script.py Added executable parameter to the script module (#36969) 2018-05-25 14:40:48 -05:00
service.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
set_fact.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
set_stats.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
shell.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
sros.py Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555) 2018-05-08 12:06:37 -04:00
sros_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
synchronize.py Use _remote_is_local=True for local connection in synchronize (#40833) 2018-05-30 13:28:11 -07:00
telnet.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
template.py Better error message if the template is not utf-8 encoded (#41030) 2018-06-05 19:07:11 -07:00
unarchive.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
uri.py Add src parameter for uri module that can be used in place of body. Supports binary files (#33689) 2018-05-31 11:43:00 -05:00
vyos.py Pull persistent connection parameters via get_option (#39367) 2018-05-16 14:59:01 +02:00
vyos_config.py Fix edgeos_config: {backup: yes} (#37619) 2018-03-21 12:48:09 -04:00
wait_for_connection.py Fix py3 issue in wait_for_connection (#37646) 2018-03-20 11:21:19 -05:00
win_copy.py Rename original_basename parameter in various file-related modules 2018-05-17 15:24:56 -07:00
win_reboot.py win_reboot: fixed up warning message for dep args (#37898) 2018-03-27 13:03:07 +10:00
win_template.py Windows: Use the correct newline sequence for the platform (#21846) 2017-03-23 19:47:10 -07:00
win_updates.py win_updates: add scheduled tasks back in for older hosts (#38708) 2018-05-23 13:21:01 -07:00