Problem:
bash: /tmp/test.goweekend.ca-dispatch-script.tmp.sh: Permission denied
Cause:
Modern Linux /tmp was mounted with the noexec option which caused this exact error case
Solution:
Change file-copy-destination-dir: to different folder /home/fei
web.goweekend.ca:
hostname: 192.168.1.66
username: fei
ssh-key-storage-path: keys/rundeckpoc/rundeckpockey
file-copier: script-copy
destdir: /home/fei
file-copy-destination-dir: /home/fei
script-copy: scp ${file-copy.file} ${node.username}@${node.hostname}:${file-copy.destination}
script-copy-remote-filepath: ${node.destdir}/${file-copy.filename}
No comments:
Post a Comment