andrewrothstein.consul-cluster

andrewrothstein.consul_cluster

Build Status

Role for configuring a Consul cluster. Relies principally on the existence of two host groups.

  1. consul: all hosts that participate in the cluster whether server or client.
  2. consul_servers: all hosts that participate in the RAFT as servers.

Requirements

See meta/main.yml

Role Variables

See defaults/main.yml

Dependencies

See meta/main.yml

Example Playbook

example inventory.ini

host[1:10].test

[consul]
host[1:10].test

[consul_servers]
host[1:7].test

playbook.yml

- hosts: consul
  roles:
    - andrewrothstein.consul_cluster

License

MIT

Author Information

Andrew Rothstein andrew.rothstein@gmail.com

About

role to configure a consul cluster

Install
ansible-galaxy install andrewrothstein.consul-cluster
GitHub repository
License
mit
Downloads
766
Owner
Dreamer, coder