This commit is contained in:
2025-12-03 16:41:53 +01:00
parent 068cdcb766
commit 93f91bbdf5

View File

@@ -52,8 +52,8 @@ module "iam" {
# Fichier template Ansible
# ------------------------
data "templatefile" "ansible_cfg" {
template = file("../../template/ansible.cfg.tpl")
data "template" "ansible_cfg" {
template = file("${path.module}/../../template/ansible.cfg.tpl")
vars = {
frontend_ip = module.compute.frontend_public_ip