-
Notifications
You must be signed in to change notification settings - Fork 51
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
Ansible module fails when using keeper_config variable #573
Comments
Note that if I put the base64 blob into the code as follows, it works. Something about the environment variable lookup is causing the issue?? Apologies in advance if this turns out not to be an issue with the Ansible collection. Role:
And its successful output:
|
Also note, using
|
It looks like you cannot lookup in the vars section, for our plugin. When the plugin initializes the task step, it is getting "" from It looks like some internals of Ansible haven't populated the env value for the lookup to get the value at the point where the plugin uses the config. |
I'm trying to retrieve a field from a record using Ansible collection
keepersecurity.keeper_secrets_manager
version1.2.2
and Ansible version 2.16.3.Per the docs I want to use a base64 encoded KSM config and am trying to use the
keeper_config
variable to do so, but it's resulting in an error. The play is reading the base64 encoded KSM_CONFIG string from environment variableKSM_CONFIG_RUNNER
like so:Ansible playbook:
And the role tasks:
The response I'm getting is:
What I expect to see is no failure and the retrieved result to be printed to the console.
The text was updated successfully, but these errors were encountered: