khuedoan-homelab/metal/roles/tfstate/templates/backend.tfvars.j2

6 lines
121 B
Plaintext
Raw Normal View History

endpoints = [
{% for host in ansible_play_hosts %}
2021-06-13 21:56:23 +07:00
"{{ hostvars[host].ansible_host }}:{{ etcd_port }}",
{% endfor %}
]