diff --git a/lmn-client.yml b/lmn-client.yml index 19429a2..537908f 100644 --- a/lmn-client.yml +++ b/lmn-client.yml @@ -125,13 +125,14 @@ url: "http://livebox.pn.steinbeis.schule/codeblocks/CodeBlocks.zip" dest: /tmp/CodeBlocks.zip use_proxy: False - when: codeblocks_version.stdout is not search('svn13456') + register: new_codeblocks + when: codeblocks_version.stdout is not search('svn13496') - name: Unpack zip archive and install packages manually shell: cmd: unzip -d /tmp/cb/ CodeBlocks.zip && dpkg -i cb/*.deb chdir: /tmp/ - when: codeblocks_version.stdout is not search('svn13456') + when: new_codeblocks.changed | default(false) when: groups.PCroom is defined and inventory_hostname in groups.PCroom ## Temporarily fix boot order