summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2018-09-20 11:37:54 +0200
committerGitHub <noreply@github.com>2018-09-20 11:37:54 +0200
commit5c73d4f4bd4c067cd4d1d9f1adfe16090ece4b04 (patch)
tree339eb6d6b39e6bb33b76d83c60438efb9f6a7a99 /docs
parentFixing azure_rm_containerregistry_facts (#45897) (diff)
downloadansible-5c73d4f4bd4c067cd4d1d9f1adfe16090ece4b04.tar.xz
ansible-5c73d4f4bd4c067cd4d1d9f1adfe16090ece4b04.zip
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
Diffstat (limited to 'docs')
-rw-r--r--docs/docsite/rst/porting_guides/porting_guide_2.8.rst14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/docsite/rst/porting_guides/porting_guide_2.8.rst b/docs/docsite/rst/porting_guides/porting_guide_2.8.rst
index c1e66cf337..f592a6f9b7 100644
--- a/docs/docsite/rst/porting_guides/porting_guide_2.8.rst
+++ b/docs/docsite/rst/porting_guides/porting_guide_2.8.rst
@@ -43,7 +43,15 @@ By default in Ansible 2.7, or with ``AGNOSTIC_BECOME_PROMPT=False`` in Ansible 2
Deprecated
==========
-No notable changes.
+* Setting the async directory using ``ANSIBLE_ASYNC_DIR`` as an task/play environment key is deprecated and will be
+ removed in Ansible 2.12. You can achieve the same result by setting ``ansible_async_dir`` as a variable like::
+
+ - name: run task with custom async directory
+ command: sleep 5
+ async: 10
+ vars:
+ ansible_aync_dir: /tmp/.ansible_async
+
Modules
=======
@@ -98,7 +106,9 @@ Noteworthy module changes
Plugins
=======
-No notable changes.
+* The ``powershell`` shell plugin now uses ``async_dir`` to define the async path for the results file and the default
+ has changed to ``%USERPROFILE%\.ansible_async``. To control this path now, either set the ``ansible_async_dir``
+ variable or the ``async_dir`` value in the ``powershell`` section of the config ini.
Porting custom scripts
======================