8000 Change ANSIBLE_LIBRARY PATH processing by cloudnull · Pull Request #3137 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

Change ANSIBLE_LIBRARY PATH processing - #3137

Merged
tadeboro merged 1 commit into
ansible:masterfrom
cloudnull:ansible-library
Jun 3, 2021
Merged

tadeboro merged 1 commit into
ansible:masterfrom
cloudnull:ansible-library

Conversation

@cloudnull
Copy link
Copy Markdown
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

Comment thread src/molecule/provisioner/ansible.py Resolved
@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
Copy Markdown
Contributor Author

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

@tadeboro
tadeboro commented Jun 3, 2021
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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.

4 participants

0