From 133aa0fa44bf7f608504a49c968d4fdf8ae3c864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 9 Jan 2025 17:24:58 +0100 Subject: [PATCH] aur: Fix preexec conditional execution --- playbook.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbook.yml b/playbook.yml index 9cbf043..a18ec2f 100644 --- a/playbook.yml +++ b/playbook.yml @@ -392,9 +392,7 @@ chdir: "{{ item.1.stat.path | dirname }}" become_user: makepkg become: true - when: - - not item[0].stat.exists - - item[0].stat.checksum|default('') != item[1].stat.checksum + when: not item[0].stat.exists or (item[0].stat.checksum|default('') != item[1].stat.checksum) loop: "{{ preexec_before.results| reject('skipped')|zip(preexec_after.results| reject('skipped')) }}" loop_control: label: "{{ item.1.stat.path }}"