Categories
Snippets

Ansible inventory file from Consul

Quick self-reminder: curl consul.domain:8500/v1/catalog/nodes | jq ‘.[]|.Address’ | tr -d ‘”‘