此贴旨在分享使用ansible快速部署一个consul集群,不探讨架构及技术细节。仓库地址:https://github.com/dhwark/consul_cluster在hosts文件中按照格式填入ip地址修改roles\consul_cluster\files\consul_*\consul_