community.general/lib/ansible
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
..
cli handle groups correctly when they are 'null' (#41698) 2018-06-20 11:26:46 -04:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config Fix some typos in config/base.yml (#41363) 2018-06-14 23:53:41 -04:00
errors give hint to users when a file is not found 2018-04-10 17:19:03 -04:00
executor no_log even when task_result doesn't provide key 2018-06-12 10:25:30 -07:00
galaxy Update APB templates (#41559) 2018-06-14 17:05:30 -04:00
inventory added missing raise 2018-06-19 16:21:16 -04:00
module_utils New module - meraki_config_template (#41633) 2018-06-20 09:47:31 +02:00
modules lineinfile: add regex as an alias for regexp (#20454) 2018-06-20 12:54:33 -04:00
parsing Fix wrong python keyword (followup to #36357) (#41067) 2018-06-07 19:48:07 +05:30
playbook Load role vars and defaults before parsing tasks (#40982) 2018-06-18 10:56:55 -05:00
plugins ensure copy action plugin returns an invocation in result (#41426) 2018-06-20 14:35:47 -04:00
template When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalze (#41408) 2018-06-12 08:46:23 -05:00
utils Prefer readthedocs.io instead of readthedocs.org for doc links (#41537) 2018-06-18 08:22:50 -04:00
vars minimize loading files/plugins 2018-04-10 17:22:31 -04:00
__init__.py
constants.py adds ansible-doc JSON plugin data dump 2018-06-04 17:20:33 -07:00
release.py update 2.7 codename 2018-05-31 15:46:07 -07:00