zorlin.etcd_cluster

andrewrothstein.etcd-cluster

构建状态

配置一个etcd集群。在每个etcd-master组中的主机上运行投票成员,并在其余etcd组的主机上运行代理。

要求

请参见meta/main.yml

角色变量

请参见defaults/main.yml

依赖关系

请参见meta/main.yml

示例剧本

示例库存文件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

关于项目

configures an etcd cluster (variable hacks by Zorlin)

安装
ansible-galaxy install zorlin.etcd_cluster
许可证
mit
下载
253
拥有者
Developer, sysadmin, distributed storage and free culture person. Still figuring out the rest.