From 1ee511f82c582c7d9a497bcd8fd778ac40324ab1 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 22 Nov 2017 10:28:09 -0800 Subject: [PATCH] Use an abspath for network inventory ssh key path. --- test/runner/lib/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index 4a93276afa7..f563730637e 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -441,7 +441,7 @@ def network_inventory(remotes): options = dict( ansible_host=remote.connection.hostname, ansible_user=remote.connection.username, - ansible_ssh_private_key_file=remote.ssh_key.key, + ansible_ssh_private_key_file=os.path.abspath(remote.ssh_key.key), ansible_network_os=remote.platform, ansible_connection='local' )