From 1c67238803b50e592de41cb0ea188ffff5d8cc67 Mon Sep 17 00:00:00 2001 From: Hugo RABAN Date: Thu, 4 Dec 2025 12:00:39 +0100 Subject: [PATCH] Actualiser terraform/templates/ansible.cfg.tpl --- terraform/templates/ansible.cfg.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/terraform/templates/ansible.cfg.tpl b/terraform/templates/ansible.cfg.tpl index 8a92904..f0a8d1f 100644 --- a/terraform/templates/ansible.cfg.tpl +++ b/terraform/templates/ansible.cfg.tpl @@ -1,4 +1,8 @@ [defaults] -inventory = ./hosts host_key_checking = False -remote_user = ubuntu \ No newline at end of file +inventory = gcp_compute.yml +interpreter_python = auto_silent +remote_user = ${replace(replace(remote_user, ".", "_"), "@", "_")} + +[inventory] +enable_plugins = gcp_compute, auto, host_list, yaml, ini, toml, script \ No newline at end of file