Debian Codegraph @

test/integration/targets/connection_windows_no_pipelining/tests.yml

raw
1 ---
2 - name: test out Windows No Pipelining specific tests
3 hosts: windows
4 force_handlers: yes
5 serial: 1
6 gather_facts: no
7
8 tasks:
9 - name: get remote information for shell method tests
10 ansible.windows.win_powershell:
11 script: |
12 (Resolve-Path ~\).Path + "\test"
13 (Get-Item $env:TEMP).FullName + "\ansible-tmp-"
14 register: remote_info
15
16 - name: test shell methods with pipelining disabled
17 shell_test:
18 register: shell_res
19
20 - name: assert shell test results
21 assert:
22 that:
23 - shell_res.remote_expand_user == remote_info.output[0]
24 - shell_res.tmpdir.startswith(remote_info.output[1])