Files
homelab/glusterfs/terraform/templates/inventory.yml.tftpl

17 lines
541 B
Plaintext
Raw Normal View History

2026-03-14 20:43:35 +01:00
# terraform/templates/inventory.yml.tftpl
# Auto-generated by Terraform - DO NOT EDIT
all:
children:
bastion:
hosts:
2026-03-14 21:52:37 +01:00
${bastion.name}:
2026-03-14 20:43:35 +01:00
ansible_host: "${bastion.default_ipv4_address}"
ansible_user: clusteruser
test_server:
hosts:
%{ for idx, server in galera_servers ~}
${server.name}:
ansible_host: "${server.default_ipv4_address}"
ansible_user: clusteruser
ansible_ssh_common_args: "-o ProxyJump=clusteruser@${bastion.default_ipv4_address}"
%{ endfor ~}