From 4ead77b5d00c0e4eb1276f91bb1b0a8dab5a2689 Mon Sep 17 00:00:00 2001 From: "Andreas B. Mundt" Date: Sun, 7 Apr 2024 16:01:05 +0200 Subject: [PATCH] Update codeblocks again. --- lmn-client.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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