From bf7fc89e18492b1d0fc072b9b67eb1d4ded4283c Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 9 Apr 2023 14:36:45 +0200 Subject: [PATCH] fix ansible vault password --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 2eb6257..ef8947b 100644 --- a/main.tf +++ b/main.tf @@ -23,7 +23,7 @@ module "vm" { name = "hermes" use_host_cert = false fixed_address = "192.168.30.7/24" - ansible_command = "ANSIBLE_ROLES_PATH=roles ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -u root -i '192.168.30.7,' hermes.yml" + ansible_command = "ANSIBLE_ROLES_PATH=roles ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_VAULT_PASSWORD_FILE=util/secret-service-client.sh ansible-playbook -u root -i '192.168.30.7,' hermes.yml" mac = "CA:FE:C0:FF:EE:07" }