From f10e0930e42a1aab40d652704a2e5f437d5b4d4e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 7 Jul 2022 18:10:27 +0000 Subject: [PATCH] Fix bad hook variable --- bootstrap-daemon/pvcbootstrapd/lib/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-daemon/pvcbootstrapd/lib/hooks.py b/bootstrap-daemon/pvcbootstrapd/lib/hooks.py index 3367a83..09df1e3 100755 --- a/bootstrap-daemon/pvcbootstrapd/lib/hooks.py +++ b/bootstrap-daemon/pvcbootstrapd/lib/hooks.py @@ -211,7 +211,7 @@ def run_hook_copy(config, targets, args): with run_paramiko(config, node_address) as c: for sfile, dfile, dmode in zip(source, destination, mode): if not match(r"^/", sfile): - sfile = f"{config['ansible_source']}/{sfile}" + sfile = f"{config['ansible_path']}/{sfile}" tc = c.open_sftp() tc.put(sfile, dfile) tc.chmod(dfile, dmode)