Slackbot
11/01/2023, 3:17 PMnlew
11/01/2023, 4:04 PMrun_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.Jay Iorio
11/01/2023, 4:23 PMnlew
11/01/2023, 4:23 PMvalue
is a hash, so it should be .value['stdout']
Jay Iorio
11/01/2023, 4:24 PMJay Iorio
11/01/2023, 5:08 PM