Role for configuring a Consul cluster. Relies principally on the existence of two host groups.
- consul: all hosts that participate in the cluster whether server or client.
- consul-agent-server: all hosts that participate in the RAFT as servers.
See meta/main.yml
See meta/main.yml
inventory.ini
[consul]
host[1:10].test
[consul-agent-server]
host[1:7].test
playbook.yml
- hosts: consul
roles:
- andrewrothstein.consul-cluster
MIT
Andrew Rothstein [email protected]