Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error retrieving data from vault #38

Closed
njordr opened this issue Apr 27, 2017 · 1 comment
Closed

Error retrieving data from vault #38

njordr opened this issue Apr 27, 2017 · 1 comment

Comments

@njordr
Copy link
Contributor

njordr commented Apr 27, 2017

Hi.

I just used your lookup plugin and it gives me this error:
TASK [Create skit_automata user] ****************************************************************************************************************************************************************************************************
fatal: [10.209.113.25]: FAILED! => {"failed": true, "msg": "An unhandled exception occurred while running the lookup plugin 'vault'. Error was a <type 'exceptions.AttributeError'>, original message: 'list' object has no attribute 'split'"}

environment vars:
export VAULT_ADDR="https://127.0.0.1:8200/"
export VAULT_TOKEN="a3a51462-2884-b579-d769-93e7dad2dd75"
export ANSIBLE_HASHICORP_VAULT_USE_CACHE="no"
export VAULT_CACERT="/etc/ssl/certs/vault.pem"

Any idea?

@njordr
Copy link
Contributor Author

njordr commented Apr 28, 2017

my fault, I use ansible 2.3 but write the lookup as ansible < 2

@njordr njordr closed this as completed Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant