This message was deleted.
# bolt
s
This message was deleted.
n
run_command
returns a ResultSet which contains multiple Result objects. If you're just running on one node, you can call
$item_to_execute.first
to get the one Result for that node, then
.value.stdout
on that.
j
Thank You but whenever I include .stdout on the end it gives me the same Bolt error, that .stdout is an unknown function,
n
Ah whoops, I misread the docs.
value
is a hash, so it should be
.value['stdout']
j
Ohh... thanks Let me try that
Awesome... Exactly what I was looking for... Thank you!