From 0de82c08d9b24a0b34e0fe00dce94011607c1bf3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 2 Aug 2017 17:26:09 +0000 Subject: [PATCH] Remove the | changed idempotency breaker If we interrupt the process in unarchive, we'll have a broken idempotency state: The leapfrog process will run again the venv prep, the synchronize will be unchanged, and the unarchive rewire will never run. Change-Id: I8e91ef39d4ecbc9ff5a6a4a73cd0ce4679d6ecf0 --- leap-upgrades/upgrade-utilities/venv-prep.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/leap-upgrades/upgrade-utilities/venv-prep.yml b/leap-upgrades/upgrade-utilities/venv-prep.yml index 2efb68da..2fe46fb9 100644 --- a/leap-upgrades/upgrade-utilities/venv-prep.yml +++ b/leap-upgrades/upgrade-utilities/venv-prep.yml @@ -35,8 +35,6 @@ src: "/opt/{{ file_name }}" dest: "/opt" copy: "no" - when: sync_job | changed - name: Rewire venv command: "virtualenv-tools --update-path=auto /opt/{{ file_name.split('.tgz')[0] }}" - when: sync_job | changed