How are people getting to node attributes during execution? $RD_NODE_CUSTOM_ATTRIBUTE seems to only be available if you write a NodeExecutor and pass them to each node. I can't seem to get ssh working in a custom defined NodeExecutor. I guess I could always pass my custom attributes as args to the scripts I'm running, but that feels like a fragile hack. Any other ideas? Or anyone know why my NodeExecutor hangs on my ssh command:#!/bin/bash
set -e
COMMAND=$RD_EXEC_COMMAND
REMOTE_USERNAME=$RD_NODE_USERNAME
REMOTE_HOSTNAME=$RD_NODE_HOSTNAME
echo "Command: $COMMAND, Node: $REMOTE_USERNAME@$REMOTE_HOSTNAME ($RD_NODE_NAME)"
ssh -v -v -v $REMOTE_USERNAME@$REMOTE_HOSTNAME $COMMAND
exit 0
The echo command works so I know my user@host is correct, but I get no output for the ssh command at all. Just hangs... Any insight would be greatly appreciated.--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.