1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/7970-fix-cargo-path-idempotency.yaml
rbomze 9510988abc
cargo: use the correct path when checking installation status fixing idempotency issue. (#7970)
* cargo: use the correct path when checking installation status

* Add changelog fragment

* Update changelogs/fragments/7970-fix-cargo-path-idempotency.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-02-23 20:34:18 +01:00

10 lines
577 B
YAML

bugfixes:
- "cargo - fix idempotency issues when using a custom installation path
for packages (using the ``--path`` parameter).
The initial installation runs fine, but subsequent runs use the
``get_installed()`` function which did not check the given installation
location, before running ``cargo install``. This resulted in a false
``changed`` state.
Also the removal of packeges using ``state: absent`` failed, as the
installation check did not use the given parameter
(https://github.com/ansible-collections/community.general/pull/7970)."