Consul is a tool for discovering and configuring services in your infrastructure. It provides several key features:
1. *Service Discovery*: Clients of Consul can provide a service using DNS or HTTP.
2. *Health Checking*: Consul clients can provide any number of health checks with services or node
3. *Key/Value Store*: Applications can make use of Consul's hierarchical key/value store for dynamic configuration.
4. *Multi Datacenter*: Consul supports multiple datacenters out of the box. This means users of Consul do not have to worry about building additional layers of abstraction to grow to multiple regions.
- Ansible need to be installed
- Clester of nodes and it's hostname shoud get entry into your inventory file
default variables: (can be changed while running playbook)
- unzip_version: "6.0*"
- consul_binary_link: "https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip"
- hosts: servers
roles:
- { role: prabhuvignesh.consul_installer, x: 42 }
opensource
..*Prabhu Vignesh Kumar Rajagopal ..*http://prabhuvignesh.github.io