zorlin.etcd_cluster
andrewrothstein.etcd-cluster
配置一个etcd集群。在每个etcd-master
组中的主机上运行投票成员,并在其余etcd
组的主机上运行代理。
要求
角色变量
依赖关系
示例剧本
示例库存文件inventory.ini
# 投票成员和非投票成员
[etcd]
host[1:n].test
# 投票成员
[etcd_master]
host[1:3].test
在你的剧本中:
- hosts: etcd
roles:
- role: andrewrothstein.etcd-cluster
# 如果你不想保护你的安装,可以使用
# etcd_secure: False
获取etcd集群的详细信息
etcdctl endpoint status --cluster -w table
许可证
MIT
作者信息
Andrew Rothstein andrew.rothstein@gmail.com
安装
ansible-galaxy install zorlin.etcd_cluster
许可证
mit
下载
253
拥有者
Developer, sysadmin, distributed storage and free culture person. Still figuring out the rest.