@ -174,7 +174,7 @@ def _async_main(job_id, module, raw_params, args, env):
_result_by_job_id[job_id] = rc
def make_temp_directory:(base_dir):
def make_temp_directory(base_dir):
"""
Handle creation of `base_dir` if it is absent, in addition to a unique
temporary directory within `base_dir`.
@ -203,7 +203,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
# The copy action plugin violates layering and grabs this attribute
# directly.
self._connection._shell.tmpdir = self.call(
ansible_mitogen.helpers.make_temp_directory:,
ansible_mitogen.helpers.make_temp_directory,
base_dir=self._remote_expand_user(
# ~/.ansible
self._connection._shell.get_option('remote_tmp')