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

Change ANSIBLE_LIBRARY PATH processing #3137

Merged
merged 1 commit into from Jun 3, 2021

Conversation

cloudnull
Copy link
Contributor

When the environment variable ANSIBLE_LIBRARY is used, molecule is
currently extending the path with the contents of the found variable,
however, this will cause problems as the system driven path will
conflict with a user defined path. To correct this issue the path
processing will now insert the user provided variable into the path.

Signed-off-by: Kevin Carter kecarter@redhat.com

Please include details of what it is, how to use it, how it's been tested

PR Type

  • Bugfix Pull Request

@cloudnull cloudnull force-pushed the ansible-library branch 3 times, most recently from 3f6fae8 to 7c77c94 Compare June 3, 2021 20:48
@cloudnull
Copy link
Contributor Author

This change will not pass the docs checks until #3138 merges.

@tadeboro
Copy link
Contributor

tadeboro commented Jun 3, 2021

@cloudnull Would you be so kind as to rebase your work on top of the main branch and then force push it? This should turn the last red test into a green one (In the log at https://readthedocs.org/projects/molecule/builds/13925451/, I still see the old extension being used). Thank you in advance!

@cloudnull
Copy link
Contributor Author

@cloudnull Would you be so kind as to rebase your work on top of the main branch and then force push it? This should turn the last red test into a green one (In the log at https://readthedocs.org/projects/molecule/builds/13925451/, I still see the old extension being used). Thank you in advance!

Done

When the environment variable ANSIBLE_LIBRARY is used, molecule is
currently extending the path with the contents of the found variable,
however, this will cause problems as the system driven path will
conflict with a user defined path. To correct this issue the path
processing will now insert the user provided variable into the path.

- Bugfix Pull Request

Lanuch-Pad: https://bugs.launchpad.net/tripleo/+bug/1930757
Signed-off-by: Kevin Carter <kecarter@redhat.com>
@tadeboro tadeboro merged commit 3d3ce25 into ansible:master Jun 3, 2021
@ssbarnea ssbarnea added the bug label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants