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
This commit is contained in:
Jean-Philippe Evrard 2017-08-02 17:26:09 +00:00
parent 850c763a19
commit 0de82c08d9

View File

@ -35,8 +35,6 @@
src: "/opt/{{ file_name }}" src: "/opt/{{ file_name }}"
dest: "/opt" dest: "/opt"
copy: "no" copy: "no"
when: sync_job | changed
- name: Rewire venv - name: Rewire venv
command: "virtualenv-tools --update-path=auto /opt/{{ file_name.split('.tgz')[0] }}" command: "virtualenv-tools --update-path=auto /opt/{{ file_name.split('.tgz')[0] }}"
when: sync_job | changed