From be45eb655bffa27be912e959cb79d1fa365044ad Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 17 Jul 2025 14:09:09 +0200 Subject: [PATCH] feat: improve atuin install --- tasks/install.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/install.yaml b/tasks/install.yaml index 9805fa0..97cbebd 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -21,6 +21,7 @@ owner: "root" group: "root" mode: "0775" + register: "atuin_download" when: "atuin_version not in atuin_version_check.stdout" # install atuin @@ -33,7 +34,9 @@ group: "root" mode: "0755" remote_src: true - when: "atuin_version not in atuin_version_check.stdout" + when: + - "atuin_download.changed" + - "atuin_version not in atuin_version_check.stdout" # install systemd service - name: "install service"