mirror of https://github.com/ansible/ansible.git
[2.15] Consider all configured collection paths when installing collections (#81324)
* Consider all configured collection paths when installing collections (#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
(cherry picked from commit efbc00b6e4
)
* Update warning patch for version 2.15 due to non-existence of the config GALAXY_COLLECTIONS_PATH_WARNING
pull/81459/head
parent
8a4a1279df
commit
85a3eb272a
@ -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)
|
Loading…
Reference in New Issue