community.general/lib/ansible/plugins
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
..
action ensure copy action plugin returns an invocation in result (#41426) 2018-06-20 14:35:47 -04:00
cache Do not try to import simplejson in jsonfile.py (#40983) 2018-06-01 11:24:57 -07:00
callback minimal callback doesn't properly respect changed, bring into alignment with oneline (#41273) 2018-06-07 18:10:26 -04:00
cliconf fix nxos edit_config for httpapi and have uniform load_config (#41358) 2018-06-14 22:02:12 +05:30
connection Correct defaults in lxc and lxd connection plugin 2018-06-19 15:45:18 -04:00
filter Add cidr_merge filter (#36081) 2018-05-23 14:35:23 -05:00
httpapi fix nxos edit_config for httpapi and have uniform load_config (#41358) 2018-06-14 22:02:12 +05:30
inventory handle groups correctly when they are 'null' (#41698) 2018-06-20 11:26:46 -04:00
lookup Update my own author email in comments block 2018-06-18 16:15:31 -04:00
netconf Add cli and netconf ability from ansible itself for cloudengine ce modules (#41357) 2018-06-14 09:38:27 +05:30
shell powershell: Respect remote_tmp path set by the user (#40210) 2018-05-23 07:12:32 +10:00
strategy update play_context for reset_connection (#40866) 2018-06-18 11:10:16 -04:00
terminal fix handling of ># ending prompts for sros (#41382) 2018-06-12 11:37:08 -04:00
test Deprecate tests used as filters (#32361) 2017-11-27 17:58:08 -05:00
vars Allow loading dirs from role defaults/vars (#36357) 2018-04-10 17:14:38 -04:00
__init__.py fixed up get_options in AnsiblePlugin to use the correct plugin name 2017-11-22 15:35:31 -05:00
loader.py HTTP(S) API connection plugin (#39224) 2018-05-17 18:47:15 -04:00