forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider all configured collection paths when installing collections (a…
…nsible#81243) * Only install collections which can't be satisfied by a collection in any of the configured paths. * Improve warning for unexpected collection install path Fix warning when path is configured, but is a pip-managed path Normalize the path before validating to fix warning consistency
- Loading branch information
Showing
5 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
changelogs/fragments/a-g-col-prevent-reinstalling-satisfied-req.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bugfixes: | ||
- >- | ||
``ansible-galaxy`` now considers all collection paths when identifying which collection requirements are already installed. | ||
Use the ``COLLECTIONS_PATHS`` and ``COLLECTIONS_SCAN_SYS_PATHS`` config options to modify these. | ||
Previously only the install path was considered when resolving the candidates. | ||
The install path will remain the only one potentially modified. | ||
(https://github.com/ansible/ansible/issues/79767, https://github.com/ansible/ansible/issues/81163) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters