From 472610805f06fbcdb0083e32680781a0277f1e35 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 16 Apr 2018 15:48:20 +0100 Subject: [PATCH] tests: fix remote_tmp test on 2.5.x. --- tests/ansible/integration/action/make_tmp_path.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ansible/integration/action/make_tmp_path.yml b/tests/ansible/integration/action/make_tmp_path.yml index d8fdbb43..21333c21 100644 --- a/tests/ansible/integration/action/make_tmp_path.yml +++ b/tests/ansible/integration/action/make_tmp_path.yml @@ -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}}"