community.general/lib/ansible
Toshio Kuratomi 71f46d69d6 First bit of fixing temporary to have one source of truth (#35747)
* First bit of fixing temporary to have one source of truth

* Fix pep8

* Remove explicit make_tmp_path() in copy

The copy action plugin sets TRANSFER_FILES=True so it does not need to
set the temporary directory explicitly; the base class's run() method
will do that for us.

* Fix for calling a module's run when a shell has already created a temp path.

* Remember to inform the rest of the world when tempdir is removed

* New strategy for how to warn on passing tmp

Now we just warn when calling the parent class run() early.  If the
module does a late call to the parent run() and doesn't make use of the
temporary directory, then we don't check for the possibility that the
user mistakenly is sending tmp in.  If we truly deprecate this (rather
than ignoring it forever) then we might want to switch back to checking
for someone passing a value in as tmp.

* Remove tmp parameter from _execute_module as well

* Port all action plugins to not send tmp explicitly

This is now handled inside of _execute_module via the
_connection._shell.tempdir attribute.

Also update warnings and docs to tell people to set the attribute
instead of using _execute_module's tmp parameter.

* Always set local tempdir variable
2018-02-07 15:11:36 -08:00
..
cli Apply regex to dir name only (#35744) 2018-02-06 16:39:57 -05:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config Fix config option descriptions (#35638) 2018-02-06 09:59:47 -05:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor Add support for defining index var for task loops 2018-02-05 22:14:05 -05:00
galaxy galaxy remove incorrect check for role path before extraction (#35259) 2018-01-30 10:40:25 -06:00
inventory remove new tmp var for localhost 2018-02-07 16:16:10 -05:00
module_utils New module: manage 1&1 public ip (cloud/oneandone/oneandone_public_ip) (#35079) 2018-02-07 12:15:27 -06:00
modules [git] Fix switching branch of shallow clone (#18728) 2018-02-07 18:07:02 -05:00
parsing Guard against assignments that are not ast.Name in docs parsing (#35513) 2018-01-30 12:56:16 -06:00
playbook remove runtime msg also 2018-02-07 12:35:56 -05:00
plugins First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
template Fix jinja2>=2.9 nested include vars (#35099) 2018-02-07 10:58:29 +01:00
utils ovirt: Require Python SDK 4.2.4 for Ansible 2.5 (#35841) 2018-02-07 11:49:25 -05:00
vars Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
__init__.py
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00