You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time I re-apply the playbook (after its successful aplication),
the install nvm task still runs each time - and takes a considerable amount of time to finish:
[...]
TASK [leonidas.nvm : Install nvm]
[...]
Is this task not idempotent? Or should it check nvm version before downloading things?
The text was updated successfully, but these errors were encountered:
Idempotence is not relevant with the amount of time to execute.
Idempotence is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application.
After further investigation, it appers that recent nvm versions output the 'already installed' message in stderr rather than stdout, therefore the relevant task indeed does not accurately check with changed_when. I will fix that after some pending changes.
Each time I re-apply the playbook (after its successful aplication),
the install nvm task still runs each time - and takes a considerable amount of time to finish:
[...]
TASK [leonidas.nvm : Install nvm]
[...]
Is this task not idempotent? Or should it check nvm version before downloading things?
The text was updated successfully, but these errors were encountered: