diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-05-23 07:12:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 07:12:32 +1000 |
commit | f84f3de7c26c4df4c6898371919f4f9db20e79eb (patch) | |
tree | ba3ce95522ae01ae919b750f149c4941b984629e /test/integration/targets/win_async_wrapper | |
parent | 070a5557d19f20f1e20fc0c8f002498686bfee9c (diff) | |
download | ansible-f84f3de7c26c4df4c6898371919f4f9db20e79eb.tar.gz |
powershell: Respect remote_tmp path set by the user (#40210)
* powershell: Respect remote_tmp path set by the user
* Fixed up linting error and typo
* Added changelog
Diffstat (limited to 'test/integration/targets/win_async_wrapper')
-rw-r--r-- | test/integration/targets/win_async_wrapper/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/win_async_wrapper/tasks/main.yml b/test/integration/targets/win_async_wrapper/tasks/main.yml index 38b4d528ca..e437e9cb43 100644 --- a/test/integration/targets/win_async_wrapper/tasks/main.yml +++ b/test/integration/targets/win_async_wrapper/tasks/main.yml @@ -159,6 +159,18 @@ - nonascii_output.stdout_lines[0] == 'über den Fußgängerübergang gehen' - nonascii_output.stderr == '' +- name: test async with custom remote_tmp + win_shell: echo hi + register: async_custom_tmp + async: 5 + vars: + ansible_remote_tmp: '{{win_output_dir}}' + +- name: assert results file is in the remote tmp specified + assert: + that: + - async_custom_tmp.results_file == win_output_dir + '\\.ansible_async\\' + async_custom_tmp.ansible_job_id + # FUTURE: figure out why the last iteration of this test often fails on shippable #- name: loop async success # async_test: |