From 090a70762f4e3cbeecdd62c1d92b0cadc1ff33d9 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Thu, 24 Aug 2023 23:30:16 +0200 Subject: [PATCH] adding warning for the idempotency breaking that happens on fixed version constraints --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a9f28f0..bc6fd3e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ manage_pipx_packages_list: # by default, set to install ansible-core ``` This variable is a list of packages, with their name, desired version and state. `version_constraint` can be multiple constraints,separated by commas (example: `>1.10`, `>1.10,<1.15,!=1.12`,`==1.13`). -> **Warning** This is a warning +> **Warning** +> Currently, and due to limitations in the [ansible pipx module](https://docs.ansible.com/ansible/latest/collections/community/general/pipx_module.html), adding version contraints other that `latest` will break idempotence of this role. This is not breaking your installation of the package, only the task will always be marked as changed on your playbook run. This will be fixed whenever the pipx module is fixed. Dependencies ------------