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

Be careful when reading from external systems in inventory #536

Open
gtema opened this issue Apr 15, 2022 · 0 comments
Open

Be careful when reading from external systems in inventory #536

gtema opened this issue Apr 15, 2022 · 0 comments
Assignees

Comments

@gtema
Copy link
Member

gtema commented Apr 15, 2022

Current usecase is that in inventory we read dynamic credentials from vault. Every time the variable is passed somewhere it is is evaluated new and generates new creds in vault. Moreover on the assignment we may end up having user and pass not matching to each other cause variable got evaluated multiple times. In addition this is also causing additional performance issues.

Instead we seem to need to extend passing vault path as parameter to playbook role and let it figure out and perform read when really necessary.

@gtema gtema changed the title Be careful when reading from external system in invetory Be careful when reading from external systems in inventory Apr 15, 2022
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

3 participants