async: use async_dir for the async results file directory (#45461)

* win async: use async_dir for the async results file directory

* tried to unify POSIX and PowerShell async implementations of async_dir

* fix sanity issue
This commit is contained in:
Jordan Borean
2018-09-20 19:37:54 +10:00
committed by GitHub
parent 60979a96a9
commit 5c73d4f4bd
11 changed files with 269 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
minor_changes:
- windows async - change default directory from ``$env:TEMP\.ansible_async`` to ``$env:USERPROFILE\.ansible_async`` to match the POSIX standard.
- windows async - async directory is now controlled by the ``async_dir`` shell option and not ``remote_tmp`` to match the POSIX standard.
bugfixes:
- async - fixed issue where the shell option ``async_dir`` was not being used when setting the async directory.
deprecated_features:
- async - setting the async directory using ``ANSIBLE_ASYNC_DIR`` as an environment key in a task or play is deprecated and will be removed in Ansible 2.12. Set a var name ``ansible_async_dir`` instead.