Open filviu opened 4 years ago
I get the same when trying to retreive secrets from ansible-vault in a cron job from within a shell script, the same command woks fine interactively.
I fixed my cronjob issue (giving the same error you mentioned) by adding an environment variable to it at the top
ANSIBLE_VAULT_PASSWORD_FILE=/path-to-my/.ansible_vault_password
so you may want to look at making sure you have an environment variable set up somewhere in this vscode plugin. Hope that helps to get you one step closer to solving it.
Hi,
I'm getting this when working with vscode (remote connected to a linux box). It's running fine inside wsl - I'm only getting this on this remote box. Any hints what I'm doing wrong ?
Thanks !