andrewrothstein.etcd-cluster
andrewrothstein.etcd_cluster
This role sets up an etcd cluster. It runs a voting member on each host in the etcd-master
group and a proxy on the other hosts in the etcd
group.
Requirements
Check meta/main.yml for requirements.
Role Variables
See defaults/main.yml for configurations.
Dependencies
For dependencies, refer to meta/main.yml.
Example Playbook
Here’s an example of an inventory file named inventory.ini
:
# voting and non-voting members
[etcd]
host[1:n].test
# voting members
[etcd_master]
host[1:3].test
In your playbook, include:
- hosts: etcd
roles:
- role: andrewrothstein.etcd_cluster
# To skip securing your installation, set
# etcd_secure: False
To check details of the etcd cluster, run:
etcdctl endpoint status --cluster -w table
License
MIT License
Author Information
Created by Andrew Rothstein andrew.rothstein@gmail.com
Installa
ansible-galaxy install andrewrothstein.etcd-cluster
Licenza
mit
Download
431.7k
Proprietario
Dreamer, coder