简体   繁体   English

Ansible ECS集群服务发现

[英]Ansible service discovery for ECS Cluster

How can I let Ansible to discover EC2 Instances for a ECS Cluster by its name or tag?如何让Ansible通过名称或标签发现ECS集群的EC2实例?

I tried to google it, but wasn't able to get this info...我试图谷歌它,但无法获得此信息......

It looks like the Ansible EC2 Inventory Source supports querying by tag.看起来 Ansible EC2 Inventory Source支持按标签查询。 As long as your Cluster's instances have a specific tag that should work.只要你的集群实例有一个特定的标签就可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM