Running command with run() returns command failed instead of storing variable #3217
Unanswered
sts-ryan-holton
asked this question in
Help needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a custom deployer recipe with a task where I need to return the disk space of my server, here it is:
The issue with this is it returns exit code 127, command not found:
Except this obviously isn't a command, I simply need the result of the
run()
method to store it's value inside of my$free
variable, why isn't this working as I expect?I also tried the following...
Thinking that with the
return
I could then output{{ disk_space_free }}
in another run command, same result.Beta Was this translation helpful? Give feedback.
All reactions