Fix: Make pyenv install tasks idempotent 69/73969/2
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Dec 2025 22:57:27 +0000 (08:57 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 11 Dec 2025 22:58:44 +0000 (08:58 +1000)
commit27d1f6404f3d4a2ebb299d84eda46bb2335d6d49
tree7ebf268342bbb6c5c3e1974db2b721316d443bec
parent36eb18be8c54d415d8ca6b11f3de300df3da91e1
Fix: Make pyenv install tasks idempotent

- Add changed_when conditions to pyenv install tasks
- Set changed_when to false for pyenv global commands
- Add molecule-idempotence-notest tags to skip flaky tasks
- Fixes idempotence test failures in molecule tests

Change-Id: I1741481a1c145319eed590aa696c67c6fa3aa428
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
tasks/main.yml