tests: fix remote_tmp test on 2.5.x.

This commit is contained in:
David Wilson 2018-04-16 15:48:20 +01:00
parent 34a1e3337f
commit 472610805f
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@
register: out
- assert:
that: out.result.startswith(ansible_remote_tmp|expanduser)
# This string must match ansible.cfg::remote_tmp
that: out.result.startswith("~/.ansible/mitogen-tests/"|expanduser)
- stat:
path: "{{out.result}}"