Configures an etcd cluster. Runs a voting member on every host in the etcd-master
group
and a proxy on the rest of the hosts in the etcd
group.
See meta/main.yml
See meta/main.yml
example inventory.ini
# voting and non-voting members
[etcd]
host[1:n].test
# voting members
[etcd_master]
host[1:3].test
in your playbook:
- hosts: etcd
roles:
- role: andrewrothstein.etcd_cluster
# if you don't want to secure your install then use
# etcd_secure: False
Get details of etcd cluster
etcdctl endpoint status --cluster -w table
MIT
Andrew Rothstein andrew.rothstein@gmail.com