Consul is a tool for discovering and configuring services in your infrastructure. Much like Smart Stack from airbnb.com, but it promises to be simpler. This ansible roles aims to help instalation and configuration of Consul.
You must keep in my mind three things when you use my roles:
- All my roles make the assumption that host machines don't have internet connection, as this is the standard behavior of production machines in most companies. So, all the necessary dependencies will be downloaded to the control machine and after that pushed to the host machines. Keep in mind that you will need disk space for these downloads on your control machine.
- I try to not use any package manager, at all. This way, you will not depend on more than one maintainer for the same software (the software original writer, and the package management team). Going this way, it is your choice to install using root or not. Which I always advise to don't use, if you can.
- I try to keep all of my roles free from sudo or root access. If you wan't to use root, it is choice and not an specific demand, and I will keep this way as long as I can.
unzip
- consul_version: default to '0.2.0'
- consul_download_dir: download path on control machine. defaults to '/tmp'
- consul_instalation_dir: consul instalation path at host machines. defaults to '/home/vagrant/consul'
none
- hosts: all
roles:
- { role: alexanderjardim.consul }
BSD