Envconsul provides a convenient way to populate values from Consul into an child process environment using the envconsul daemon.
No requirements needed to install envconsul
Useful variables to configure such as the version and arch or even where it is downloaded.
envconsul_ver: "0.6.1"
envconsul_arch: "linux_amd64"
envconsul_dl_dir: "/tmp"
envconsul_bin_path: "/usr/local/bin"
- Requires
unzip
to unpack release archive.
Install envconsul at a specific version
- hosts: servers
roles:
- { role: mtchavez.envconsul, envconsul_ver: "5.0.0" }
MIT
mtchavez - 2016