From 31fe71d04d2f15cb90e6e7cee92e56d6755590c9 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 4 Aug 2017 12:28:56 -0400 Subject: [PATCH] Use zuul.executor.work_root for add-build-sshkey Now that zuul.executor.work_root is live, we can stop using a relative path for our ssh private key. Change-Id: I7d8deab60724fb62a18dc0c5fb4eec57056552c7 Signed-off-by: Paul Belanger --- roles/add-build-sshkey/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/add-build-sshkey/vars/main.yml b/roles/add-build-sshkey/vars/main.yml index a9a38c8ed..02108ff19 100644 --- a/roles/add-build-sshkey/vars/main.yml +++ b/roles/add-build-sshkey/vars/main.yml @@ -1 +1 @@ -zuul_temp_ssh_key: "{{ zuul.executor.src_root }}/../{{ zuul.build }}_id_rsa" +zuul_temp_ssh_key: "{{ zuul.executor.work_root }}/{{ zuul.build }}_id_rsa"