Rundeck ec2 plugin gotchas
Nodes with same name show up as a single host
I have nodes that are named identically since they are in an auto scaling group, and rundeck only pulled one of them.
Use
nodename.selector=tags/Name+' ('+privateIpAddress+')';
to the Mapping Params
, this will list nodes all nodes
Commands are executed on the local server and not the remote host
add
hostname.selector=privateIpAddress
to the Mapping Params
, since all my nodes are inside a vpc and do not have dns addresses
Rundeck ssh login issue
In my case, I have a dedicated user for rundeck, and the default is ec2-user
, I needed to add
username.default=rundeck;
to the Mapping Params