rundeck-plugins / rundeck-ec2-nodes-plugin

Get resource node data from Amazon EC2
86 stars 45 forks source link

Override defaults for a group of nodes #91

Open RickS-C137 opened 6 years ago

RickS-C137 commented 6 years ago

Hello,

we're using this mapping params for all our EC2 nodes: tags.selector="role_"+tags/role|"vpc_environment_"+tags/vpc- environment|"customer_"+tags/customer-name|"instance_environment_"+tags/instance-environment description.selector=tags/int-hostname nodename.selector=tags/int-hostname+".bla.blub" hostname.selector=privateIpAddress username.default=euser

But our SFTP server are using a different port for the ssh daemon, so I would like to set the default for the ssh port for servers tagged with sftp. I tried it this way:

tags.selector=tags/role=sftp ssh.port=11111

But it didn't work. The documentation is confusing me. So can please someone explain how to get Rundeck to use a different port for servers with the EC2 tag sftp? Thank you in advance!