Categories
Snippets

Ansible inventory file from Consul

Quick self-reminder:

curl consul.domain:8500/v1/catalog/nodes | jq '.[]|.Address' | tr -d '"'

Leave a Reply

Your email address will not be published. Required fields are marked *