From 4f619848b1429c3d0ef638fb174d3e2929bea5d3 Mon Sep 17 00:00:00 2001 From: Rodrigo Navarro Date: Mon, 8 Jul 2024 11:26:54 -0400 Subject: [PATCH] fix for ansible master password at ansible config level --- .../groovy/com/rundeck/plugins/ansible/ansible/AnsibleVault.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/com/rundeck/plugins/ansible/ansible/AnsibleVault.java b/src/main/groovy/com/rundeck/plugins/ansible/ansible/AnsibleVault.java index b185ad0..4cda00c 100644 --- a/src/main/groovy/com/rundeck/plugins/ansible/ansible/AnsibleVault.java +++ b/src/main/groovy/com/rundeck/plugins/ansible/ansible/AnsibleVault.java @@ -81,6 +81,7 @@ public String encryptVariable(String key, Map env = new HashMap<>(); env.put("VAULT_ID_SECRET", masterPassword); + env.put("ANSIBLE_VAULT_PASSWORD_FILE", ""); Process proc = null;