andrewrothstein.etcd_cluster

andrewrothstein.etcd_cluster

Build Status

This role sets up an etcd cluster. It creates a voting member on each server in the etcd-master group and a proxy on the other servers in the etcd group.

Requirements

Check meta/main.yml for details.

Role Variables

See defaults/main.yml for available variables.

Dependencies

Refer to meta/main.yml for dependencies.

Example Playbook

Here’s an example 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 the following:

- hosts: etcd
  roles:
    - role: andrewrothstein.etcd_cluster
      # To disable secure installation, set
      # etcd_secure: False

To view the status of your etcd cluster, run:

etcdctl endpoint status --cluster -w table

License

This project is licensed under the MIT License.

Author Information

Created by Andrew Rothstein andrew.rothstein@gmail.com

Informazioni sul progetto

configures an etcd cluster

Installa
ansible-galaxy install andrewrothstein.etcd_cluster
Licenza
mit
Download
1.8k
Proprietario
Dreamer, coder