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)