我试图使用ec2节点插件,但遇到了一些问题
在将jar放入libext之后,我可以看到AWS资源模型类型
我提供了访问密钥和密钥作为配置的一部分,但在列表中看不到我的节点。
我知道我需要编辑一些映射文件,如下所示:
# use Name tag for node name
name.selector=tags/Name
hostname.selector=privateIpAddress
description.default=Ec2 node instance
osArch.selector=architecture
osFamily.selector=platform
osFamily.default=unix
osName.selector=platform
osName.default=Linux
username.selector=tags/Rundeck-User
username.default=root
editUrl.default=https://console.aws.amazon.com/ec2/home#c=EC2&s=Instances
attribute.privateIpAddress.selector=privateIpAddress
attribute.privateDnsName.selector=privateDnsName
tags.selector=tags/Rundeck-Tags
但不知道这个文件的位置
有人能帮帮我吗?
最佳答案
结果我需要添加Amazon端点,在Rundeck properties字段的mapping参数中,我刚刚复制了上面的代码,之后,EC2实例变成了Rundeck节点